Get Error When Deploy The Application On The Remote Server
May 24, 2010I get this error when I deploy the application on the remote server. This application works fine on my local machine though. It is built in MSVisual studio 2008.
View 2 RepliesI get this error when I deploy the application on the remote server. This application works fine on my local machine though. It is built in MSVisual studio 2008.
View 2 RepliesI have developed web application i need to deploy it on remote server.i am using asp.net 3.5 ,c# 3.0 and visual studio 2008,sql server 2005.using visual studio 2008 how i can make msi file to deploy application on server
View 5 RepliesWhen I run my website on local server asp.net routing works very well, but when I deploy it on a remote server ( asp 4.0 integrated pipeline ) it always returns with 404 error.
My url route is very simple, a stored procedure gets image's id and then displays it.
Global.asax:
[Code]....
Default.cs:
[Code]....
I am on SBS 2003. Whenever I approach either ipaddress/remote, ipaddress/monitoring or ipaddress/backup I get the error below. When I do ipaddress/Exchange or ipaddress/newvirtualdirectory it works allright. This situation happens when I appraoch that site from a wan, from a lan and local on the server itself. This is the error message I get:
[Code]....
I am working on ASP.NET Ajax site. Application is working fine when I run in my local machine, but same code if I place in Server then it is giving "SpanID is undefined" Javascript error. I found error is due to UI.dll file.
View 2 RepliesI have created "DotNetNuke SQL Database Application" from the WebMatrix Gallery. Now I want to deploy it on the remote server using Web Deploy method. Without selecting SQL database, application is deployed successfully but when I select SQL database it gives following error: Publish : Error - Make sure the database connection string for the server is correct and that you have appropriate permission to access the database. (Web Deploy provider is dbFullSql).
View 2 RepliesQuestion: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.
That is working, so, so far so good. My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?
I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there? The nonplusultra would be that it only starts the server when you click on the shortcut.
Error on deploy application with SqlServerCe 4.0 on hosting service
View 4 Replieswhy I'm getting this error? I just re-created (not migrated) my app that was in ASP.NET 1.1 to ASP.NET 2.0. Whole app works perfectly. The only problem I'm getting with this piece of code for the Web Services. I'm running both versions at the same time side-by-side and it works fine in 1.1 and doesn't work in 2.0.
URLName = Context.Request.Url.Segments
URLName0 = URLName(0)
URLName1 = URLName(1)
URLName2 = URLName(2)
URLHost = Request.UserHostName
URLStr = "http://" & URLHost & URLName0 & URLName1 &
"SomePage.aspx?" & "SectionID=" & SectionID
' Create a 'WebRequest' object with the specified url
Dim myWebRequest As WebRequest =
CType(WebRequest.Create(URLStr), WebRequest)
' Send the 'WebRequest' and wait for response.
Dim myWebResponse As WebResponse =
CType(myWebRequest.GetResponse(), WebResponse)
Bam! Error! The remote server returned an error: (500) Internal Server Error.
In IIS we have a virtual directory (named as "Documents") with in application virtual directory (named as "Reference") that points to an shared folder.All the files with in the "Documents" folder are listed and opened by the user (by clicking on the file name) with in the application
"Reference" application runs under an application pool. This application pool is configured to run with an Active directory account. This AD account has been granted write and modify permissions on the shared folder that contains the html files.
When user tries to open any of the html file located with in the shared location from the application following error is thrown.
System.Net.WebException: The remote server returned an error: (500) Internal Server Error
I tried to browse to the location manually and I can see the required files there.
These files where accessible from our application until yesterday. But we started encountering this error from today.
Is there any IIS settings that needs to be modified?
I have two webservers in a cluster serving a web application. Using MS Web Deploy to push a new version of the application to one server, and then again to synchronize the files to the other server in the cluster. It seems to be the most ordinary thing to do. But wouldn't there be a problemm, when one server is deployed with the new version, and the other is not yet finished. Will it not cause troubles, when a page loaded with the new version makes a webservice request and the balancer sends the request to the server with the old version?
What's the best way to avoid this? I thought about scripting a drainstop of the server, that we deploy to, and make sure only one server is running at a time. But I can't find anyone else, who seems to have written about such a solution. And guess that it doesn't scale very well too. Another solution could be to shut down all servers when updating. But that doesn't seems very clever.
I have a ASP.NET 3.5 web application and I would like to allow users to install this web application multiple times on the same server.
--------
WebApp1 - database1
WebApp2 - database2
WebApp3 - database3
I have developed a web application with ASP.Net 2.0 (VB Code Behind) and I am using My SQL as database.
I wish to sell the web application from my other website to multiple users. What would you suggest to be the best way to deliver this application? Fact is I can compile the front end script and provide the compiled version but I am not sure how to provide the associated MySQL database to them. I need to make sure that the buyers are not able to alter any code in the application or modify the preset data in the MySQL database. I do not wish to use the Setup Based deployment method as it will require the buyers to have administrative rights on the server, which may not be available on shared hosting.
But at the same time they must be able to get the web application up and running with minimal effort. I must be honest with you that I have developed only HTML based static websites till now and this would the first time I am launching an ASP.Net application.
for the last couple of days i've been trying to deploy an application that uses a sql express db on to my iis.up until now i was trying to upload it onto iis 5.1, but now i a brand new iis7.5 but i still get this annoying error:An attempt to attach an auto-named database for file C:application_nameApp_DataDatabase1.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.needless to say that there is no database with this name on my computer. i've set the application pool to .net framework 4.0.
View 2 RepliesWe have a huge ASP.NET web application which needs to be deployed to LIVE with zero or nearly zero downtime. Let me point out that I've read the following question/answers but unfortunately it doesn't solve our problems as our architecture is a little bit more complicated.
Let's say that currently we have two IIS servers responding to requests and both are connected to the same MSSQL server. The solution seems like a piece of cake but it isn't because of the major schema changes we have to apply from time to time. Because of it's huge size, a simple database backup takes around 8 minutes which has become unacceptable, but it is a must before every new deploy for security reasons.
Currently the best idea we came up is buying another SQL server which would be set up as a replica of the original DB. From the load balancer we would route all new traffic to one of the two IIS webservers. When the second webserver is free of running sessions then we can make deploy the new code. Now comes the hard part. At this point we would go offline with the website, take down the replication between the two SQL servers so we directly have a snapshot of the database in a hopefully consistent state (saves us 7.5 of the 8 minutes). Finally we would update the database schema on the main SQL server, and route all traffic via the updated webserver while we are upgrading the second webserver to the new version.
also share your thoughts regarding this solution. Can we somehow manage to eliminate the need for going offline with the website? How do bluechip companies with mammuth web applications do deployment?
Edit 1 (2010.01.12):
Another requirement is to eliminate manual intervention, so in fact we are looking for a way which can be applied in an automated way.
Let me just remind you the requirement list:
1. Backup of database
2a. Deploy of website
2b. Update of database schema
3. Change to updated website
4 (optional): easy way of reverting to the old website if something goes very wrong.
i have develop my silver light application using asp.net and i want to deploy it , i am using vs 2010 and planing to use vsweb deployment project 2010 for beta
View 1 Repliesstring furl = [URL] + rowr["msidn"].ToString() + "&subscode=" + rowr["content_id"].ToString() + "&price=" + cost + "&extid=" + exter + "&days=" + rowr["duration"].ToString() "&eventtype=ReSubscription&templateid=14";
View 1 RepliesI want to call my WebService using HttpWebRequest, but I get Error:The remote server returned an error: (500) Internal Server Error. The webservice works fine through the following url: [URL]
[Code]....
Can someone point me to a step-by-step guide on how to deploy ASP.Net applications to a totally empty and brand new Windows 2003 Server?The server has ASP.Net and the .Net framework installed on it. IIS is up and running. I have created a new application pool.
View 2 RepliesI have to write a application which connects to remote server(windows 2003 server, open SQL Management studio in that server and enter a specific SQL Server address and access a stored procedure, change some values and execute the stored procedure.)
I have to write this application using C#.Net , Could anybody point me in right direction, Where do I start?
I am using Sql Server 2008 to connect to a Remote Server. Everything was working fine for the last couple of months, and i was successfully connecting to the remote server. Today it suddenly stopped connecting to the remote server. note that i did not alter any configuration settings. Did my isp block Sql Server. My ISP is using ISA SERVER? The error details are:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider) I am using Microsoft Firewall Client For ISA Server for opening ports. But today nothing is working.
I'm trying to deploy my MVC 2.0 web application to a Windows 2003 server with IIS6, and can't find the means to do it. I read about clicking Build/Deploy, but I don't have this showing on my menu, and I have the professional version.
View 1 RepliesI recently developed a LINQ to SQL web application in Visual Studio 2010 on my desktop (Windows XP). It uses a connection to an SQL Server 2008 Express database on a remote server running Windows Server 2003.
When I test the application (Ctrl + F5), it works well. Now I want to publish the application on the remote server, but have run into difficulties.
I packaged the application using the "Build Deployment Package" option in Visual Studio. I installed msdeploy.exe on the server and transferred the package over. I ran "application.deploy.cmd /Y" to deploy
the application and got output indicating that files had been copied.
The deployment created a virtual directory under the default web site in IIS 6.0 and copied the necessary application files to the C:InetpubwwwrootApplication directory. However, when I attempt to browse
to the site from IIS Manager, I get a 404 error. This happens for all pages (not just the main page). So I can't get to http://localhost/Application_deploy/ and I also can't get to http://localhost/Application_deploy/Default.aspx. I mention this because
when I googled the issue, I found a lot of help for people who could get to Default.aspx but not to the main page. I don't think this is my problem.
I should mention that there is another virtual directory on the default website (I think it installed with IIS 6.0) that seems to be working fine. I was also able to publish the website on my local machine
using the one-click publish method and that works fine. My local machine runs IIS 5.1. At this point, I believe it's probably a configuration issue, either in IIS or in the application itself, but I haven't been able to solve it.
I'm trying to upload an asp .net application
View 3 RepliesI am considering using Crystal Report 2008 as my tool of creating reports on my webpage.The only problem which I'm facing is that I have no control of the remote server which hosts my site (besides uploading files). I can't run a MSI to deploy the CR runfiles.I can't find anywhere in the CR user manual of how to deploy the runtime files without running the msi, and I'm not even sure it's possible.Have anyone deployed CR 2008 without running the MSI and without having to register any files?
View 8 Replies