I have visual studio 2010 at home and have developed a web application. I am now at another computer in another location. All I have is the project folder on my usb drive and all this computer has installed is IIS express. Is there any way I can somehow get my web application up and running?
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.
Despite using many sql databases before, I've never actually tried to develop an app with a database in the App_Data directory.
It's a small WCF service project, which has a sql express 2008 r2 database.
Working in VS there are no problems, I thought it would be as easy as deploying to a server (win 2008 with sql 2008 r2 installed) and it would just work. But it would appear not.
In the web.config, the connection string which uses |Data Directory| in the connection string.
I read here that |Data Directory| only works in VS, but looking at other articles on the web that doesn't seem to be the case.
I have (for the sake of this) given everyone modify rights on the app_data dir on the server.
I am a newbie. First time, I am going to deploy the web application to a host? Few questions, do you know any free asp.net hosting with FTP capability? Secondly, how do I ensure the data-base is secure, so that the hosting site cannot access the database or open without a password?
Apologies if this seems obvious, but after a week searching I can't find a clear answer to my problem.
I have developed an application in Visual Web Developer 2010 Express that uses the asp.net application services membership provider. It works well in development on my machine (data in the ASPNETDB.MDF database).
I packaged my application and deployed the relevant files with FTP to my shared hosting provider.
I took a copy of the ASPNETDB.MDF and restored it to the SQL Server 2008 on my shared hosting. I can connect to this through the Database Explorer in Visual Web Developer, but it doesn't contain any schema or data.
I know once I have the database in production I will have to make sure the connection string in web.config is poiting to it, but I don't know how to get the DB to production in the first place.
Question: 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.
I have an application which has a website and a project. The project contains an executable file which I'm trying to run as a process from the website's Global.asax file's application_start(). When I run this application from localhost, everything runs smoothly but when I deploy the application on IIS, application_start's code is executed and I can see the process name in the taskmanager but I cannot see the window which the console application normally starts in (when i run the application on localhost) and neither is the code executed.
Here's what I'm doing:
-- copied website and project in wwwroot -- made a virtual directory of the website -- when i run the website, I see the process in taskmanager but the code is not executed.
I am new to deployment and IIS, and would really appreciate I someone could tell me what i'm missing
I hate to sound stupid, but ASP.NET is not my forte. I have build an ASP.NET application which I now which to deploy to a production server. Searching on the web I found that it's recommended to just use the Setup tool within VS2010 to compile and install the files on the production servers. However, I find it a bit weird:
The files on the server are exactly those that I had on my system. I would've imagined that moving to a production server would involve some compiling and compression of file content so as to improve execution. But in practice all files on the server are exactly as they are on my local system -- I can even modify my .cs file on the servers and that works!! (Surprised ;-)). Following from the above, all my code is readily available on the server for anyone to see. I am not sure if this is a problem... For example, could it end up a security risk (due to passwords within the files)?
I developed a web application using VS2008 and sql server2005. I don't know how to make my project live. I got the domain name also. But i don't know how to deploy. I don't know how to copy in that.I'll give you the details also to access the ftp. how to upload in it. I want the correct instruction to deploy the application.
i'm struggling with this error for hours... i have an application that uses sql server express ,entity framework and was built with web developer. when i try to browse the app i get a: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
I want to start a small project. The target platform on which I have to deploy my system is Windows XP. I want to develop it in ASP.NET 4.0. Can I deploy ASP.NET 4.0 application on Windows XP?
Ia m trying to deploy an asp.net application.The application is running without any errors and I published the website also.Now I want to ceatethe package of the application.So I added one web setup project.But I couldn't build the web setup project.(1 Build succeeded,! failed)I couldn't able to resolve this problem.I have one webservice and database also.Anyway,I installed this websetup.After that I opened through the browser,error came us global file can not be added.
Is is possible to deploy asp.net application to CD-ROM and have it in Computer Based Training Format (CBT) with no requirements for user to install anything on computer ?
1) User takes CBT and places in laptop
2) ASP.net application opens and runs from CD, as if user pointed browser to it.
3) have considered Cassini, but I don't know if is something easier with visual studio 10? Cassini requires intall by user, I don't want that.
4) am willing to try anything as long as it is fee ( i.e. using my trial versions of VS 10, or VS 2005).
5) or is my only option to convert to pure html--- because that I know I can do from CD to make a CBT.
I've recently upgraded VS 2008 to VS 2010. On our server we have IIS6 installed and we can not change that in near future. Even though we will develop new applications to be deployed on IIS7 but if situation demands we may need to develop an application using .net 4.0 and to be deployed on IIS6, then in this case I wanted to know whether IIS6 supports .net 4.0 application or not?
If I can deploy, then do I need to take care of any configuration or any other setting I should change before deploying it?
We have a web application on ASP.NET 1.1. I have made some changes on the application on local & i have to deploy it on live. How do i do it? Can i copy the pages that i have changed on live & re-compile the entire project there? Is it good idea as we dont have any test server.
I'm new to ASP.NET. I have created a web application project using VS2010. I tried to deploy it to my web server (IIS7) based on article on the internet (eg. link) but I've got an error:
The application basically displays a list of reports and allows the user to select a particular report to run. Once the report is selected, the appropriate parameter screen is displayed. The parameter screen contains options for displaying the report either as an Excel Spreadsheet or a PDF document.
When I run the application from within visual studio, it works fine. The reports display correctly in both formats.
THe problem is that once I publish the application (via msi installation file) to a Windows 2003 web server, the reports won't display. THe system just hangs. I added debug statements and the code is hanging during the ReportDocument.Load(Server.MapPath("/assetreport.rpt") command.
My deployment project includes the correct msm for Crystal Report 12 and the Web server also has the full blown version of Crystal Reports 12 installed.
I am trying to deploy the Bugtracker.NET tool [URL], which is a normal ASP.NET 2.0 application, into the default web site of an IIS which already has Sharepoint installed in it. The OS is Windows Server 2008 R2, IIS 7.5 and Sharepoint Services 3.0. The question is that when I execute the application, I get a NullReferenceException because HttpContext.Current.Session is null, and I think that this could be due to a problem with the configuration of the web site, as the application runs perfect in web sites with no Sharepoint installed.
I already know that Sharepoint customizes the web site with handles, modules and so on, that all applications in the web site inherit, modifying their behavior. I have already given to the ASP.NET application Full trust level, enabled Anonymous authentication and InProc session state, but I am still getting that HttpContext.Current.Session is null. Even changing the app pool from Wss3AppPool to DefaultAppPool does not succeed. Maybe someone could tell me which settings do I need to tweak in the web site in order to avoid this exception.
I have been developing a .net web application for a while now. I had my application installed on a test server and everything was running smoothly. Now that the application is almost ready for deployment to end users, I obtained a brand new web server to host the application. I installed SQL server 2008R2, copied over my database and after a bit of messing about with conection strings and SQL logins, everything seemed to be working fine from debug. When I tried to install my app to the new server, I was prompted that I would need to install .net 4.0 which I then did. Gave the server a reboot and tried to install the app again - this time I got the following error before the install rolled back incomplete...
Could not open key: microsoftsoftwareASP.NET4.0.30319.0 verify that you have sufficient access to that key, or contact your support personel. I checked IIS and the default application pool was set to net 2.0, I changed this to 4.0 and ran the install again but got the same error. Could anyone offer any advice here as I am under pressure to get this system up and running.
I have to check the precompiled web application on IIS 8.5 via localhost. So, What are the steps regarding how to configure and deploy precompiled web application on IIS 8.5