Using Shared Variables.

Mar 6, 2007

Hi,
I am trying to use shared variables in the emebedded code of a report. But
when i assign a value to the shared variable in the detail level and access
the same from footer it shows different value (0).

I declared an integer variable as a shared variable. And changed its value
in the detail level. Then tried to access its value in the table footer.

Public Shared testVal As Integer

Function testValFunc()
testVale = 25
End Function

In detail level i call Code.testValFunc()
In footer -> Code.testValFunc() gives 0

Any Idea??? Is it because the header/footer is computed first and then the detail?
-
HelpSeeker

View 1 Replies


ADVERTISEMENT

Execute DTS 2000 Package Task Editor (Inner Variables Vs Outer Variables)

Sep 4, 2006

Hi,

I am not comfortable with DTS 2000 but I need to execute a encapsulated DTS 2000 package from a SSIS package. The real problem is when I need to pass SSIS variables to DTS 2000 package. The DTS 2000 package have 3 global variables that I can identify on " Execute DTS 2000 Package Task Editor - Inner Variables ". I believe the SSIS variables must be mapped on " Execute DTS 2000 Package Task Editor - OuterVariables ". How can I associate the SSIS variables(OuterVariables ) to "Inner Variables"? How can I do it? Much Thanks.

João





View 8 Replies View Related

How To Design A Package With Variables So That I Can Run It By Dos Command Assigning Values To Variables?

Jan 24, 2006

Hi,

I would like to design a SSIS package, which have couple of variables. It loads a xls file specified in a variable [varExcelFileFullPath] .

I will run it by commands: exec xp_cmdshell 'dtexec /SQL ....' (pls see an example below).

It seems it does not get the values passed in for those variables. I deployed the package to a sql server.

are there any grammar errors here? I copied it from dtexecui. It worked inside Dtexecui not in dos command.

exec xp_cmdshell 'dtexec /SQL "LoadExcelDB" /SERVER test /USER *** /PASSWORD ****

/MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EW

/LOGGER "{6AA833A1-E4B2-4431-831B-DE695049DC61}";"Test.SuperBowl"

/Set Package.Variables[User::varExcelFileName].Properties[Value];"TestAdHocLayer"

/Set Package.Variables[User::varExcelWorkbookName].Value;"Sheet1$"

/Set Package.Variables[User::varExcelFileFullPath].Value;"D: estshareTestAdHocLayer.xls"

/Set Package.Variables[User::varDestinationTableName].Value;"FeaturesTmp"

/Set Package.Variables[User::varPreSQLAction].Value;"delete from FeaturesTmp"

'



thanks,



Guangming

View 2 Replies View Related

Shared Drive

May 11, 2000

Hi,

I have a shared drive mapped to the h: drive letter on my sql server and I want to create new databases on that drive. Is this at all
possible?
I try it and I couldn't see h: even if I typed it in.

Thanks

View 2 Replies View Related

Shared Hosting

Feb 16, 2008

Hello

Maybe someone can suggest me some software which can be used for SQL 2005 shared hosting?
With database size limit, user number restriction and other features.

Thank you for information in advance

View 3 Replies View Related

Cannot See Shared Datasources

Apr 9, 2008

I am new to reporting services, working with RS2000. Roles and security have previously been set up.

Shared Datasources have been created. How is access granted to shared datasources?


Some users have access but we haven't been able to create new users with access to the shared datasources.

Thanks

View 1 Replies View Related

Dedicaced Or Shared Connection ?

Jul 11, 2006

Exit it in sqlserver notion of shared connection or dedicaced connection like there is exist in oracle ?
Exit it a part of memory (like PGA in oracle) who exist just for the connections ?
Else what are constitued the memory in sqlserver ?

Thanks

View 1 Replies View Related

Shared SCSI Setup...

Jan 12, 2004

Ok, got an assignment from my boss.. Need shared storage for a 2 node cluster, with main focus on MSSQL DB Failover. We won't be storing alot of data, speed it not really an issue, just availability..

As far as I know I need 2 SCSI cards, 1 for each node. Node1 has to have ID7 and Node2 ID6 (for example)

this is it.. what's next? what's the best way to configure all this? Do I need a special box for all hard drives to be with certain controller?

I was thinking to link up like this

terminator
|
Node1
|
|
Disk
|
|
Node2
|
terminator

But I wanted to run some sort of RAID on disk, mirroring is fine.. Anyone can suggest me what parts I should get for this setup? my servers don't have 64bit PCI too

View 1 Replies View Related

Shared Dimensions - OLAP

Mar 25, 2004

Hi,
I have noticed the the cubes that we have here use shared dimensions.
For almost all cubes(5-6) there are at least 4-5 common dimensions.
According to what I have been preached so far, the shared dimensions are so that you can reuse them. That is not what is practised here.
for example.
cube1 has somedim1, dim2_c1, dim3_c1...
cube2 has xyzdim1_c2,xyzdim2_c2,dim3_c2..

dim3_c1 and dim3_c2 are the same dimensions, one for each cube.
I don't know if I am missing something. Shouldn't the use the same dimensions? Could there be any reason for this.
pls. advice.

TIA

View 3 Replies View Related

Shared Connexion Between Package

Apr 21, 2008

Hello,

Here's my problem :

I have several packages, one parents and several childs.
I want to define just one connexion for all theses packages, so I used a Data source. But I had several problem with that object.
So I'm looking for the best way to define one working database connexion for all my packages.

Can someone help me ?

Thanks in advance.

View 2 Replies View Related

Using Sql Server 2005 In Shared Pc.

Apr 5, 2007

HI,

currently two people(with different username and password) are using a shared workstation, where in the sql server is installed. so i just wanted to know that whether two people could use the sql server at the same time. please note that the two people have different username and password to enter to log in.

Thanks,
Nitin

View 2 Replies View Related

Shared Server Issue?

Jul 20, 2005

We've been running a database on a shared server. The traffic on oursite has been picking up steadily and it seems as though we're runninginto sporadic downtime on the database. Sometimes when we do largedata imports, the transaction log fills up and the schema somehowfails to truncate it when asked to back it up. So we run the explicittruncate statement and that usually seems to fix the problem. A fewdays ago a single stored procedure started to block, but inexplicablyonly when called by our .NET server. When called by hand fromEnterprise Manager, it executed fine. I was at my wits end when Ijust recreated it with the same exact code and it magically startedworking again. What gives? Is this at all indicative of a shareddatabase, or are these known SQL Server issues?

View 4 Replies View Related

Acessing SQL Server Over The Web With Shared IP

Jul 20, 2005

I am new to setting up SQL Server and would greatly appreciate ifsomeone can help me out with this issue:I have successfully set up SQL Server but want to be able for clientsof mine to be able to connect to it via the web through enterprisemanager. I have tried everything I could think of to get it to work. Imade sure the correct ports where open in the firewall (1433,1434).Everytime I try to connecting using the IP of the box that the SQLServer resides I get SQL Server does not exist or access denied. Iverified that the login credentials being used for the database I amtrying to correct to are correct. Still the same error message.How I would like to set it up would be to create a subdomain on thebox and point it to SQL Server so that is what would be entered whenregistering the group in enterprise manager.I am currently running all my sites through vhost on a single IP usingIIS 2003. SQL Server is installed on the box where all of the sitesare being served up.Is it impossible to set-up SQL Server to allow connections over theweb when using a Shared IP?I have been researching this for over a week now and hope someone outthere can help me.Thanks in advance!!

View 3 Replies View Related

SQL CE Private V. Shared Deployment

Feb 2, 2007

I have a couple of questions on the nature of shared and private deployment of SQL Server CE 2005 on mobile devices:

1. I've read that with a shared install, SQL Server 2005 Compact Edition files are automatically updated and serviced by Microsoft Update. I take it that this only applies to installations on desktop computers -- if you're installing on mobile devices, there IS no automatic update. Right?

2. I've also read that in order to do a shared install of SQL Server 2005 CE, the user must have administrative rights. How does this apply to installs on a mobile device? There is no such thing as an administrative user on a mobile device. However, mobile devices CAN require different levels of privilege to install certain programs -- do you need something like an application signed for privileged execution (via a M2M certificate) in order to do a shared install of SQL Server 2005 CE on a mobile device?

Or is the shared versus private deployment only an issue when deploying to a desktop?

Larry

View 4 Replies View Related

Displaying Shared Schedule Only

Sep 25, 2007



Hi,

Is there a way to display only the shared schedule option in the subscription page? in other words, can the manual scheduling be hidden?

Thank you.

View 3 Replies View Related

Shared Data Source

Dec 19, 2006

I experimented a strange behavior using connections for data source inside packages in vss 2005.

Suppose we have a tab1 in a develpment source db and in a test source db:

tab1 dev db contains 100 records
tab 2 test db contains 200 records

I start developing a package using an 'ole db data source' task inside a data flow. When I change the data source from dev to test, strange thinks happens.

The 'ole db source task' retrieve only 197 records ... but if I open the connection inside the connection manager pane and only after i click on the 'test connection' button tI get 200 records.

The source db is a sql 2000 db server and I use ole db provider for sql server.

Cosimo

View 1 Replies View Related

Shared Datasource Problem

Mar 10, 2006

I have created a few packages which uses shared 2 data sources called source and desitination. When i change the server in the datasource file
manuallyprogramatically, it is not reflecting in all the packages. Ideally all the packages should refer to this shared datasource,but i found out that the server name is hardcoded in each and every package which destroyes the concept of shared data sources in SSIS packages.How ever if i change the server name in the data source from the SSIS environment itself then all packages using the shared datasource are updated.Is there a work around for this apart from changing the server in every package.

View 3 Replies View Related

SSRS Shared Schedule

Oct 10, 2007


Hi All,

I need a report to execute every 5 minutes on every week day and I am trying to do this using a shared schedule.

I had looked all the options available with Shared Schedule and looks like there is no way to do this.

Please let me know if you have a work around.

Thanks,

Prakash.P

View 1 Replies View Related

How To Create A Datasource Which Is Not Shared

Mar 13, 2007

Is it possible to create a datasource, which is not at al shared via vs 2005

View 1 Replies View Related

SQL Replication Between 2 SQL Servers Across Shared T1

Feb 3, 2006



Anyone know what or how to calculate how much bandwidth I may use during replication. I have done this with large pipes with out a problem, just concerned I may need to change the interval to something else.

Thanks

JJ

View 1 Replies View Related

Cannot Connect To Shared Database

Apr 7, 2007

Using Vista, when I start Outlook 2007 I get the following message:



Business Contact Manager for Outlook could not connect to the shared database.//looking for msslbiz Do you want to work offline?



I click Continue and get the messagebox:

Business Contact Managerdatabase cannot be loaded

This action cannot be completed because Business Contact Manager cannot access the database. The database is currently stopped.

Do you want to change the database configuration?



i say Yes and the messagebox says



Microsoft Windows Search Protocol Host has stopped working.
A problem cause the program to stop working correctly. Windows will close the program and notify you if a solution is available.



I close program (no choice) and message says:



Cannot find the selected database. Verify that the network and the computer on which the databases are located are available, and that you have permission to access the database, and then retry.



Connect to computer name prompt does not work

Create new database does not work

Database creation was unsuccesful



Using MS SQL Server Management Studio Express) to connect to msslbiz

SQLServer does not allow remote connections (when trying to conect to



Note that SqlServer Express is started and running on the Vista machine, and the databases I create are available to other machines on my lan. I cannot find a way to enable remote connections on msslbiz. Any help would be greatly appreciated.





View 5 Replies View Related

Shared Datasource In Different Folder...

Jul 16, 2007

Hi all,



Ive tried searching but nothing came up specific to my problem.



I currently have all the reports separated into separate folders, such as Finance, HR etc, and the datasources in a datasources folder at the root level. My problem is that when i upload reports into their appropriate folder, the shared datasource information gets deleted, and i need to re-map it everytime.



Is there anyway to have the specific reports point to specific shared datasource folders on the report server when i upload them?



cheers



Rob.

View 1 Replies View Related

Shared Schedule Completion

Oct 20, 2007

Hi,
We are using Shared Schedule to trigger reports at a particular time. We are invoking the SQL Job associated with the shared schedule. How to identify when the shared schedule gets completed i.e. all the associated reports with the shared schedule are generated. We need to trigger other external processes once all the reports are generated. Kindly help me in this.
Subash

View 3 Replies View Related

Shared Data In Multiuser Environment

Aug 18, 2006

Hello, I am wondering how to code asp.net to prevent multiuser from modifying a share data (on sql server) at the same time.

View 1 Replies View Related

Shared Hosting And Sql Express Issue

Jan 4, 2007

Hi guys, I hope this is the correct place to post this question. 1) My website makes use of the Membership and Roles of asp.net 2. 2) I have uploaded my website to a shared hosting server, which doesn't support sql express (mdf files). It does support mysql, so I used a custom Membership provider for MySql. 3) It worked greate on my local computer, however (!!) it still creates a aspnetbd.mdf file in the AppData folder. 4) Obviously, when I tried to run it on the website, I got an error. My questions: Why my website still creates a aspnetbd.mdf file even if I am not using it anymore for the Membership ? How can I disable it, in order for it to run on a server which does not support it ? Thanks, Itye.

View 1 Replies View Related

SQL Express Not Allowed On Shared Hosting !!!

Jan 16, 2006

I've created a new website using the new Visual Studio 2005 Express edition. This site uses SQL Server Express (free software) as a storage for personalization data, etc. Now I want to deploy my site, but here it ends for me:My web site hoster does not support the SQL Express edition in a shared hosting environment. I think most people have a website running in a 'shared hosting' plan. How can this large group enjoy the new Express line when SQL Server Express is not supported?  "SQL Server Express is not a part of the SPLA SPUR (Services Provider License Agreement)", they all say. Here it ends for me, my ISP and their licence supplier. Even at Microsoft's Response Management Team, 'no' is the answer.
What to do now?  Move on to an expensive 'dedicated hosting' plan? Write a membershipprovider for MySQL?I feel as if I was given a free ticket for a nice journey but there's no traffic possible.
Who can help me out here? What can I do...

View 15 Replies View Related

How To Use SQL Express In A Shared Hosting Environment

May 1, 2006

 
All--
Please help.
I have deployed my site to my shared host and I am getting the following RTE...
An attempt to attach an auto-named database for file... ..App_DataCommerceDB.mdf failed
...and I cannot find the issue.
Note that I have given Full-Permissions on root folder for the IUSR account and for the ASPNET account.
The full error message is below.
Anyway, do you have an suggestions?
My web hosting provider has advertised that they do support SQL Express 2005. What exactly do I need to ask them to do in order to get this working?
Please advise.
Thank you.
--Mark Kamoski
 
Server Error in '/mkamoski/S16' Application. --------------------------------------------------------------------------------
An attempt to attach an auto-named database for file c:hostingwebhost4lifemembermkamoskiS16App_DataCommerceDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: An attempt to attach an auto-named database for file c:hostingwebhost4lifemembermkamoskiS16App_DataCommerceDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Source Error:
Line 88:  ''' <returns></returns>
Line 89:  Public Shared Function GetCart() As ShoppingCart
Line 90:   Dim rdr As IDataReader = ShoppingCartProvider.Instance.CartGetCurrentCart(GetUserName())
Line 91:   Dim cart As ShoppingCart = New ShoppingCart()
Line 92:   cart.Load(rdr) 
Source File: c:hostingwebhost4lifemembermkamoskiS16App_CodeBLLShoppingCartManager.vb    Line: 90

View 5 Replies View Related

EM Not Seeing All Drives In Cluster Shared Array

Sep 16, 2002

Environment: Windows Advanced Server with SP2. SQL 2K Enterprise edition with SP2.

There are three disk drives in my shared array named E:, F:, and H:.

When I use EM (Enterprise Manager) to create a job (like a backup job), the drop down box contains only drive F:.

Drive F: was the drive specified during the install process for data files.

Drive C: and D: also exist. Drive D: was specified during the install process for the program files.

It seems to me that drop down boxes in EM which show disk drives should actually show me the following drives: C:, D:, E:, F:, and H:.

Any ideas why EM may not be showing all the disk drives.

TIA solart

View 2 Replies View Related

Shared Hosting Sql Server Liscence

Feb 5, 2005

i am getting ready to build the back end for a client server application, using a shared sql server as a back end. microsoft's white pages don't mention shared hosting. i need to know if anyone else has had problems with lisencing in a shared hosting environment. my web host told me i don't need to liscence my users (who will have read write priveledges), but microsoft gave me the impression that i did. anyone know a clear answer?

View 2 Replies View Related

How To Check The Remote Shared Drive?

Nov 3, 2006

Hello, everyone:

I want to write a query to check a remote shared drive. The shared drive is mapped as T drive in my local. I run the statement,

EXEC master.. xp_cmdshell 'DIR C:'

It works. If I change to T drive like,

EXEC master.. xp_cmdshell 'DIR T:'

It dosen't work and returns,

"The system cannot find the path specified."

But I run DIR T: in DOS prompt, it works.

Any help will be great appreciated.

Thanks a lot.

ZYT

View 4 Replies View Related

Log Off Users In Shared Drive - Access2000

May 18, 2004

I have an Access2000 app placed on a shred drive. The problem i am having is that users leave it opened and take long breaks. Sometimes they leave it overnight. I would like to make corrections to the form but can't. How can I save and close all users. I would like to send a message telling all users to save any changes and give them 1 minute before shutting down.

Thanks

View 2 Replies View Related

Restoring Using Backup On Shared Drive

Jun 11, 2008

Is this possible? I can only seem to restore when the *.bak is on a local drive which is ridiculous. I'm sure this translates to other operations in addition to restoring databases...

View 7 Replies View Related

Shared Or Independant Distribution Agents?

Jun 23, 2008

We have Lots of databases wich typically have three Trasactional Publications and two subscribers. Some DB's use a shared distribution Agent for all three Pubs whilst some DB's use Independent Agents. The reason for this set up seems to be purely by chance.

BOL says "Sharing the same Distribution Agent reduces the resource demands and increases performance at the Distributor". Whilst some resources on the net say "IF you use independant Agents, you can get performance improvements while replicating your data". This seems to be conflicting information.

I know I should go with BOL but having seperate distribution streams does make more sense (although I now have three jobs per subsciber instead of one using this method). Also more importantly, if one publications fails with dodgy data then this does not affect the other Publications. What do other people think?

Thanks in advance

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved