C# Webservice Deployment
-
I have created a Webservice using Visual Studio .NET 2003. The webservice works fine on my local webserver. I then created a Web Setup project to install/uninstall this webservice. I have tested it on my local machine and everything works fine. Now, I need to deploy this webservice on my website. The ISP I use supports .NET Hosting v1.0/V1.1. However, how can I run the Web Setup on their server!??? I tried copying the files, but it doesn't work. I changed custom errors mode to be Off, and changed the authorization mode to None. I also changed the .webinfo file to reflect the webservice location. Any ideas, how this can be done? phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]
-
I have created a Webservice using Visual Studio .NET 2003. The webservice works fine on my local webserver. I then created a Web Setup project to install/uninstall this webservice. I have tested it on my local machine and everything works fine. Now, I need to deploy this webservice on my website. The ISP I use supports .NET Hosting v1.0/V1.1. However, how can I run the Web Setup on their server!??? I tried copying the files, but it doesn't work. I changed custom errors mode to be Off, and changed the authorization mode to None. I also changed the .webinfo file to reflect the webservice location. Any ideas, how this can be done? phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]
Victor Boctor wrote: I tried copying the files, but it doesn't work Arrrgh! This is the worst error message that customers can give, and I do receive them often. "It doesn't work" is useless. WHAT doesn't work? WHICH error message was delivered? Which TASK are you trying that failed? etc. -- - Free Windows-based CMS: www.zeta-software.de/enu/producer/freeware/download.html - See me: www.magerquark.de - MSN Messenger: uwe_keim@hotmail.com
-
I have created a Webservice using Visual Studio .NET 2003. The webservice works fine on my local webserver. I then created a Web Setup project to install/uninstall this webservice. I have tested it on my local machine and everything works fine. Now, I need to deploy this webservice on my website. The ISP I use supports .NET Hosting v1.0/V1.1. However, how can I run the Web Setup on their server!??? I tried copying the files, but it doesn't work. I changed custom errors mode to be Off, and changed the authorization mode to None. I also changed the .webinfo file to reflect the webservice location. Any ideas, how this can be done? phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]
You can copy file there through ftp but don't forget that you have to put it in virtual folder , they have to create it for you or give you some admin privilage to do that. I'm not sure you can run installshield there when you don't have direct access to server. For my web service I copy files in the root of my web site(bin directory_config and asmx files) cause those stupids didn't let me to create virtual directory there. Mazy No sig. available now.
-
Victor Boctor wrote: I tried copying the files, but it doesn't work Arrrgh! This is the worst error message that customers can give, and I do receive them often. "It doesn't work" is useless. WHAT doesn't work? WHICH error message was delivered? Which TASK are you trying that failed? etc. -- - Free Windows-based CMS: www.zeta-software.de/enu/producer/freeware/download.html - See me: www.magerquark.de - MSN Messenger: uwe_keim@hotmail.com
When I use the browser and type: http://www.example.com/dotNet/MyService/Service1.asmx I get the following (even when I set the customErrors mode to Off, I still get the same error: Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]
-
You can copy file there through ftp but don't forget that you have to put it in virtual folder , they have to create it for you or give you some admin privilage to do that. I'm not sure you can run installshield there when you don't have direct access to server. For my web service I copy files in the root of my web site(bin directory_config and asmx files) cause those stupids didn't let me to create virtual directory there. Mazy No sig. available now.
Mazdak wrote: For my web service I copy files in the root of my web site(bin directory_config and asmx files) cause those stupids didn't let me to create virtual directory there. What is the difference between having it in the root of the website vs. in a sub-directory? I thought virtual directories are to map internal server paths into sub-folders of wwwroot. In my case, I copied the files to a sub-folder of wwwroot. I attempt to execute the webservice as follows: http://www.example.com/dotNet/MyService/Service1.asmx which is similar to how I run it on my local machine: http://localhost/Service1.asmx Thanks, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]
-
Mazdak wrote: For my web service I copy files in the root of my web site(bin directory_config and asmx files) cause those stupids didn't let me to create virtual directory there. What is the difference between having it in the root of the website vs. in a sub-directory? I thought virtual directories are to map internal server paths into sub-folders of wwwroot. In my case, I copied the files to a sub-folder of wwwroot. I attempt to execute the webservice as follows: http://www.example.com/dotNet/MyService/Service1.asmx which is similar to how I run it on my local machine: http://localhost/Service1.asmx Thanks, Victor phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]
-
When you create a web service with VS.NET it automaticlly do the setting for you and set that directory as virtual directory so it works without problem, but when you upload your files you have to do setting manually. Mazy No sig. available now.
Makes sense... But what is the benefit of having it as a virtual directory? As I said before, I thought virtual directories are useful to map paths that are not under wwwroot to virtual directories under wwwroot. Thanks for your help.. Regards, Victor. phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]
-
When I use the browser and type: http://www.example.com/dotNet/MyService/Service1.asmx I get the following (even when I set the customErrors mode to Off, I still get the same error: Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]
It seems to me too, that your web.config is ignored because the folder where it is inside is no virtual directory. I don't know how your ISP handles this... -- - Free Windows-based CMS: www.zeta-software.de/enu/producer/freeware/download.html - See me: www.magerquark.de - MSN Messenger: uwe_keim@hotmail.com