![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
.... due to failure in receiving user's application data path. Okay, this simply cannot be a problem unique to me and I assume there is a straight forward solution, but it escapes me. I have completed a fully functional application using ASP.NET 2 on my development site. Wanting to make it functional on a different server, I installed SQL Express on the target server, then moved the application using Visual Web Development to the new server. The error message I used in the subject line started immediately. The development system is Windows 2000 server while the target system is running Windows 2003. I suspect the problem is that I setup SQLexpress to use Windows authentication, but I also made sure that it allows ASPNET full rights. Can anybody lead me in the right direction with this? Thanks. |
#3
| |||
| |||
|
|
I wish I had a dollar for every time this one comes up! SQLEXPRESS only supports "User Instance" connection mode on the local machine. To set up your database on a remote web server, you need to either ATTACH the MDF file and change your connection string, or use the database publishing wizard (free download) to create a full SQL Script which you can then run against the remote database to recreate your "Stuff". -- Peter Site: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com MetaFinder: http://www.blogmetafinder.com "James R. Davis" wrote: .... due to failure in receiving user's application data path. Okay, this simply cannot be a problem unique to me and I assume there is a straight forward solution, but it escapes me. I have completed a fully functional application using ASP.NET 2 on my development site. Wanting to make it functional on a different server, I installed SQL Express on the target server, then moved the application using Visual Web Development to the new server. The error message I used in the subject line started immediately. The development system is Windows 2000 server while the target system is running Windows 2003. I suspect the problem is that I setup SQLexpress to use Windows authentication, but I also made sure that it allows ASPNET full rights. Can anybody lead me in the right direction with this? Thanks. |
#4
| |||
| |||
|
|
I must be really dense because I cannot understand what you have just said about SQLExpress. That is, on my development system (W2K server), I built this application using SQLExpress. None of my testers had any trouble whatever in connecting with the development site using its URL and exercising the application. Further, on the target server the ASPNETDB.MDF is on THAT server within the APP_DATA directory - it is local to the application in other words. "Peter Bromberg [C# MVP]" <pbromberg (AT) yahoo (DOT) NoSpamMaam.com> wrote in message news:96D69717-7B77-4CDE-B889-F1A7C887DC13 (AT) microsoft (DOT) com... I wish I had a dollar for every time this one comes up! SQLEXPRESS only supports "User Instance" connection mode on the local machine. To set up your database on a remote web server, you need to either ATTACH the MDF file and change your connection string, or use the database publishing wizard (free download) to create a full SQL Script which you can then run against the remote database to recreate your "Stuff". -- Peter Site: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com MetaFinder: http://www.blogmetafinder.com "James R. Davis" wrote: .... due to failure in receiving user's application data path. Okay, this simply cannot be a problem unique to me and I assume there is a straight forward solution, but it escapes me. I have completed a fully functional application using ASP.NET 2 on my development site. Wanting to make it functional on a different server, I installed SQL Express on the target server, then moved the application using Visual Web Development to the new server. The error message I used in the subject line started immediately. The development system is Windows 2000 server while the target system is running Windows 2003. I suspect the problem is that I setup SQLexpress to use Windows authentication, but I also made sure that it allows ASPNET full rights. Can anybody lead me in the right direction with this? Thanks. |
#5
| |||
| |||
|
|
I wish I had a dollar for every time this one comes up! SQLEXPRESS only supports "User Instance" connection mode on the local machine. To set up your database on a remote web server, you need to either ATTACH the MDF file and change your connection string, or use the database publishing wizard (free download) to create a full SQL Script which you can then run against the remote database to recreate your "Stuff". -- Peter Site: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com MetaFinder: http://www.blogmetafinder.com "James R. Davis" wrote: .... due to failure in receiving user's application data path. Okay, this simply cannot be a problem unique to me and I assume there is a straight forward solution, but it escapes me. I have completed a fully functional application using ASP.NET 2 on my development site. Wanting to make it functional on a different server, I installed SQL Express on the target server, then moved the application using Visual Web Development to the new server. The error message I used in the subject line started immediately. The development system is Windows 2000 server while the target system is running Windows 2003. I suspect the problem is that I setup SQLexpress to use Windows authentication, but I also made sure that it allows ASPNET full rights. Can anybody lead me in the right direction with this? Thanks. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |