Dears,
I have devoloped an application ASP.NET 2.0.
Before I have builded the aspnetdb throught the command then I built some tables and stored procedures on this db. (My db is sql express 2005 and my hoster db is sql 2005 workgroup)
My hoster doesn't allow connection Management studio express, doesn't allow attach or restore functionalities.
Than I have built my script db (contains Tables, Views and Stored Procedures), I have substituted the dbo with my user account in the script because my hoster doesn't allow the dbo access.
I have also transfered my site files (.aspx, img, etc.) on the server.
When I try to access the db I receive this error (for example when I push on the button create user):
The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.
Hi, I've a problem that I haven't experienced before and need some help. I've developed an app that works fine locally and have uploaded via FTP to my host provider - .NET 2 and SQL2005 Express. I'm now getting problems accessing the site. In the application load event I load a couple of application state items from the database. When it hits the default aspx page, it throws an Object reference not set to an instance of an object. error because the application state items haven't been loaded. The host then tried to load the database using SQL Management Express to ensure there wasn't a problem with the database and this is where I get confused..... When they try to attach it, the message column n the "Attach Databases" screen says the file cannot be found. In the "Current File Path" column, it points to the path of my local machine, i.e. H:SourceClubApp_Dataclub.mdf. This leads me to believe that somewhere in the database the original file path is noted and used. I can't find this and wondered if anyone has come accross this issue before?? The log file has been deleted. Any help and advice appreciated. Terry.
What can be done if the shared web hoster I am using allows only 1 sqlserver database and a second web application I would like to install isconfigured to use its own database?can databases be nested, one within another?thanks,-Steve
I have an sql script that I ran on my local system using osql. Itcreated all the tables, views, and even inserted sample data into thetables.Now I need to create that same database on a shared hoster site. Onlythe hoster does not allow the running of osql.How can I create my sql server database on my shared hoster site?Can I save and restore my database somehow?Is there a stored procedure I can run which will run the .sql scriptfile?thanks,-Steve
I have a question and bear with me because I am pretty new to this topic.
I have a SQL SERVER 2005 with a Client Server Application. Now I want to add a Webinterface. Sinice there is no infrastructure for hosting our own server. I want to go to an external hoster/provider.
Now my question is it possiple to replicate a snap-shot of the database to an web hoster?
If yes, what does my hosting package requieres beside SQL SERVER and ASP.NET. Any Services and open ports? What about Security?
When I replicate via push Service from my local SQL SERVER do I have to have a tunnel to the provider? Or external network access to my network via VPN. Or is there a way of doing it via HTTP? HTTPS? (I think I saw some settings about FTP replication...). Because of the Infrastructure Problems mentioned above...
It would be great if someone could give me closer information about this topic...
Links, Ressources, Tipps, Tricks, Tools... just anything... would be appriciated very much...
Am getting errors trying to deploy a dtsx created by ms (the reporting services execution log one) to which I have made zero changes, but it is not working (2 errors shown below)
error from deployment wizard: ===================================
Could not save the package "H:SSISRSlogRSExecutionLog_UpdateinDeploymentRSExecutionLog_Update.dtsx" to SQL Server "xxxxxxxxxxx". (Package Installation Wizard)
===================================
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired). The SQL statement that was issued has failed.
I have been creating applications using SQL Express and uploading them to my hoster. No problems there. Now, I feel I'm ready to the next step and would like to start using my hoster SQL Server. I have created a database in their server, now how do I move my created SQL Express Database to their regular SQL Server? Is there a way to run a tool against my local DB and create a script to run in my hoster? What is the best practise here? Your help is appreciated.
Hi All, Can anyone tell me,is it possible to create an exe or msi for sql stored procedures,tables and triggers?I want to deploy the database objects(stored proc,tables,views and functions) as an exe file..just like publishing and deploying the asp.net application.Is it possible for sql server database objects.Pls,let me know.
I'm deploying an ASP .Net application on which 20 users will be working at the same time. The database will start at less than 100mb. Is SQL EXPRESS 2005 powerfull enough to use for such an application. Thanks in advance for your answers
I have a report that I am trying to deploy. I right-clicked my report in the solutions explorer, then select "deploy" but then I get the following error:
Microsoft Report Designer The project cannot be deployed because no target server is specified. Provide a value for the TargetServerURL property in the property page for this project.
So then I go to the properties page but there isn't a TargetServerURL field! There is only a file name and full path field. Does anyone know what is wrong? Could it be that I need IIS installed on my machine?
More info: Software installed from http://www.microsoft.com/express/sql/download/default.aspx: -Microsoft SQL Server 2005 Express Edition -SQL Server Management Studio Express -Install Microsoft SQL Server 2005 Express Edition with Advanced Services -Microsoft SQL Server 2005 Express Edition Toolkit
Hi all,I'm new to SQLServer (Express edition) so I was wondering: if the webhost supports SQLServer 2005 do I just need to move the .MDF file to mydirectory on the web host to be able to use it?Thanks,Lorenzo
Hi all, I have created a database in MS-Access. I want to deploy that database on the local server, how can i do it?
Let me clear, i have created a DSN for my database. I want to deploy a report on RServer(on SQL Server2005). This DSN will be the datasource for the report. When i am trying to deploy this report with this DSN i am getting an error message "Cannot create a connection to data source 'DataSource2'. (rsErrorOpeningConnection)". Could any one help me?
I have created a report project file on my local machine.Now I'm trying to deploy those reports to a development server. I have installed sql server and tools in my local machine but never configured reporting services. When I try to deploy those reports, it asks username and password for reporting services login. But usually as far as I know, i should be able to deploy my reports without entering password etc. Even if I enter username and password, still they dont work. Is that becase I install SQL server in my local machine? Does anyone know why?
I am trying to deploy a project to localhost, but I get the following error. I have only one package in this project.
"Could not save the package "C:......lah.dtsx" to SQL Server "localhost".
I tried deploying other projects that I've successfully deployed before and those also fail with the same message. Am I missing something really basic here?
I have a web project and created a setup project for it. And I have to create reports using sql server reporting services. For this I have created an reportserver project and created two reports.
I have to create a setup file to install these reports in a remote machine.
How to do this?
where this .rdl and .rds files will be stored in the reportserver.
I'm attemping to deploy a crypto class that we use on a desktop app to SQL Server. I'll use the encryptstring/decryptstring found in this class as User Defined Functions on SQL Server. When I try to deploy the class I'm getting this error:
Error 1 Method, property or field 'EncryptString' of class 'EncryptingDecryptingOASISPWDS.Crypto' in assembly 'EncryptingDecryptingOASISPWDS' is not static. EncryptingDecryptingOASISPWDS
Hello all, I've looked through this forum and haven't found an answer to my question, but I'll make this short and sweet, as I know your time is valuable. I've taken a MS Access database and turned it into an SQL database for our server, it works. However, I want to make an identical database (to distribute to 30-40 employees) in SQL CE, so that employees can work on their laptops offline and sync their data to the main database when they return to the office. Am I going in the right direction, or is there a better way to do this? I won't bother you for a step-by-step, but any and all info/guidance you could provide would be of great use to me. Thanks for your time!!!
Hi all, Ther is a DSN (fileDSN, SystemDSN, UerDSN) on the client machine. User of the client machine has created a DSN which is connecting to the MS-Access database of his own machine. When user deploy that DSN to the Local Server, Server getting problem to finding the DSN (which is made on client). Please help me how to Deploy this DSN to server.
I do not have access to VS, but I hear it can do this... how can I do it without VS?
I am using CREATE ASSEMBLY to load dll form my server to SQLServer on my server (Same machine). How can I load the dll to another server? Do I have to write it on a directory on that server first? I tried to run the command from my pc connected to the other server, and I get a "cannot find file" error.
Question about deploying a SQL compact database with Clickonce. Deploying the first time is straightforward and that works OK but I am not so sure about consequent releases, how do I deal with the that? If I mark the file as dont deploy that will, of course, work fine for those that have installed the first release but not for thoses that havent. What about if I make a change to the database, adding a table for example. How do I go about that? I obviously dont want to loose any of the existing data?
I am trying to write an installation for my application.
I am using an SQL Express database as well as an ODBC driver to connect and querry an existing interbase database.
Therefore the install needs to do the following:
Install .NET - done
Install SQL Express - done
Install application - done
copy some XML files - done
Install ODBC Driver - done
Create database - not done
I am using a setup and deployment project to do the above. I have also written a small application to install the ODBC Driver and attepmt to create the database which I intend to run as a custom action if possible.
I have used the SQL management studio script wizard to write an sql script for creating the database with the intention of using an SQLconnection to run the script into the database but I can't seem to be able to make the connection.
I am trying using the following connection string...
Data Source=.SQLEXPRESS;AttachDbFilename=C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDatamaster.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True
But I get the following error message...
System.Data.SqlClient.SqlException: Unable to open the physical file "C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDatamaster.mdf". Operating system error 32: "32(The process cannot access the file because it is being used by another process.)".
An attempt to attach an auto-named database for file C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDatamaster.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
I have a problam. I wanna deploy my application that it has data.mdf file.
When I install and test it I get this message:
--------------------------- Microsoft SQL Server Login --------------------------- Connection failed: SQLState: '42000' SQL Server Error: 5133 [Microsoft][SQL Native Client][SQL Server]Directory lookup for the file "C:Program FilesMyDicDatabaseData.mdf" failed with the operating system error 5(Access is denied.). Connection failed: SQLState: '42000' SQL Server Error: 1832 [Microsoft][SQL Native Client][SQL Server]Could not attach file 'C:Program FilesMyDicDatabaseData.mdf' as database 'MyDic'.
--------------------------- OK ---------------------------
I created my first Package and i am not able to deploy it in my SQL server.
I created a Development Utility and in the OutputPath i got a *.dtsx and a *.SSISDevelopmentManifest file. When i run the packaage (*.dtsx) it works but when i try to install the package with *.SSISDevelopmentManifest it just genereates a folder in the selected Folder (...Microsoft SQL Server90DTSPackages) and no more.
Is it possible to deploy sqlexpress to several computers trought SMS (Systems Managements Server)? Do i need a special version to deply? Do i need to use some specific parameters?
I havent found much information regarding this and would be greatful for all the information i can get. I very new to SMS!
I am trying to set up Reporting Services. I am using SQL Server 2005 on Win XP Pro.
I installed service pack 2 for SQL Server 2005. The database looks to be set up in the configuration manager. When I try to deploy the report I get the following message:
A connection could not be made to the report server http://localhost/ReportServer
When trying to open the ReportServer folder in IIS I get another message:
An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Exception has been thrown by the target of an invocation. Could not load file or assembly 'Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
I am not sure what SharePoint is and why I need it. I am just trying to set up simple reports on a local host SQL database and IIS on a standalone PC.
Hi, i have installed SQL Server Advanced With Reporting Service following the instructions on the SQL video. Everything works fine.
Afther i have make a report with Business Intelligence Studio Express
( using the wizzard ) i try to deploy (local , ISS 5.1 on Win XP SP 2) this report by clicking right mouse on the projectname and then deploy.
In the messagebox : no errors, build and deploying. When i serve to http://localhost/reports..... nothing is changed on the main page and i can't browse to my reports. Can someboy help me.....please
I created a package, created an XML Config file, created a deployment utility and then deployed to server.
Changed Connection Managers Data Source and Initial catalog properites during deplyment. Config file in the deployment folder have the right data source and initial catalog properties value.
But when i run the package..I see wrong connection string(still showing dev server name) even though I changed during these properties during deployement and shows it right in configuration file in deployment folder.
From where the package is reading connection properties....very confusing
Problem: (asp.net 2.0)I x-copy from my development server a database named C:site_testsite.mdf to C:site. When I attach the database with Server Management Studio Express, it list the name as: "C:site_testsite.mdf" eventhough on the live server the database is in the C:site directory and my connection string in my web.config is "C:sitesite.mdf". But everything works until a week later when I need to make a field change to a table on the live site: I'm forced to re-attach the database, but this time it list the database as:C:sitesite.mdf". When I re-attach I get a NT AUTHORITYSERVICE does not have permission. So I give NT AUTHORITYSERVICE permission on the directory and files and ownership with Server Management Stuidio Express, but I still get the error.What am I'm doing wrong? Thanks for the help--Dietrich