Deploying ASP.Net web apps
-
Hi, I need to deploy an ASP.Net web app on a Win2k advanced server machine. MS buzzword "X copy deploy" doesn't seem to work for me. I've created a virtual directory at server, set up SQL Server. MS.NET framework 1.1 is also installed on the target machine with ASPNET user created. The application is running fine on my local machine. But when i upload it to the webserver (as mentioned above Win2k advanced server), the application fails to run. After a day long annoying debugging i found that there's no system.data.dll installed on web server machine. I thought it will be installed with MS.NET framework installation. Does it mean that only CLR is installed with framework only installation ?? If so what am i supposed to do ?? I saw a "Web Setup Project" while browsing projects under "Setup and Deployment Projects" category. Should i create one such project to carry out my deployment ?? If so please specify any sources for help. Thanks in advance, Regards, Hatim Ali.
-
Hi, I need to deploy an ASP.Net web app on a Win2k advanced server machine. MS buzzword "X copy deploy" doesn't seem to work for me. I've created a virtual directory at server, set up SQL Server. MS.NET framework 1.1 is also installed on the target machine with ASPNET user created. The application is running fine on my local machine. But when i upload it to the webserver (as mentioned above Win2k advanced server), the application fails to run. After a day long annoying debugging i found that there's no system.data.dll installed on web server machine. I thought it will be installed with MS.NET framework installation. Does it mean that only CLR is installed with framework only installation ?? If so what am i supposed to do ?? I saw a "Web Setup Project" while browsing projects under "Setup and Deployment Projects" category. Should i create one such project to carry out my deployment ?? If so please specify any sources for help. Thanks in advance, Regards, Hatim Ali.
As far as I recall,
System.Data.dll
is part of the base class library and should indeed be installed with the .NET framework. If your server is missing it, I would recommend uninstalling and reinstalling the .NET framework. It sounds to me like there was corruption with the original installation. As far as a "Web Setup Project", it would not solve your particular issue. It will include only those files relative to your application, not those that are part of the base class library of the framework. In other words, it would also not includeSystem.Data.dll
. I've been using xcopy deployment for my ASP.NET projects since beta 2 with no issues. Though I could be wrong, this strikes me as an environmental problem rather the something you could correct with your application. Hope that helps a bit. :) --Jesse