Configuration :: Open File After Deployment Application?
Jun 24, 2010I have build an asp.net application and have use the setup wizard for deployment. Is there some option to add this to my setup:
Open a file? For example a readme.txt file.
I have build an asp.net application and have use the setup wizard for deployment. Is there some option to add this to my setup:
Open a file? For example a readme.txt file.
Can any one explain what is web application deployment.and how it is useful.in the sense of advantages.also steps for web deployment.
View 5 RepliesHow to deploy the asp application.Please explain in simple term.
View 2 RepliesI want to know what are the ways to debug the application after deployment. Let's say I have used x-copy deployment, to copy dll and also some source code files. If I want to modify some source code and recopy them into production. Can somebody tell me how to debug those modified files?
View 2 RepliesI finished an intranet application using webconfig to store my connection string to an Access database which has linked tables to SQL Server 2005.
Everything works perfectly, but when I publish the application on a IIS server service, it seems like all connections fail... :(
I looked up on internet but found nothing on this. I think my webconfig file is correct :
[Code]....
I am new to the asp .net (c#) technology.I got an assignment to work on a existing C# project which is alreay live and working.I have downloaded all the code files from the given FTP server on my local server.My Local Server Environment Details :OS - WinXP.NET Framework Version - 2.0 ( There are different versions on the machine i.e. 1.0,1.1,2.0,3.0,3.5 but through IIS i have enabled 2.0 because the application is developed in 2.0)Visual Studio - 2003 In the downloaded source code i did not found any solution file to open the project in Visual Studio , So i created the new project and by using the add existing elements i added all the project files to the newly created project.Am i doing right way.Will my application will work when i will upload the code on live server because the solution file would have mylocal machine configuration.Suggest me how can i proceed in long term vision so that in future i do not face any problem during application release.
View 1 RepliesI've deployed a test project onto one of our web servers, and it doesn't appear that the CSS file is taking correctly. The page loads fine, but the styles aren't there. It looked fine in dev, but not now. Any thoughts on what's going on? I'm sure there is an easy solution, but I'm very new to the ASP.NET world.
View 6 RepliesI have developed a web application using Visual Studio 2010 and in that application I have used AjaxControlToolkti 3.5 in some pages. When I go to Solution Explorer->References I have AjaxControlToolKit.dll file and if I take the property of that file i see the following in PATH field E:My DataEBPMinAjaxControlToolkit.dll which is a path of my development machine.
After that I went to my UAT machine (windows xp + IIS 6.0) copy the entire project in a folder of UAT machine, created a virtual directory, provided Alias and the Directory.Now when I access my UAT server from outside it works perfect except it throws "RunTime Error" on those pages where I have used
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
I guess as my AjaxControlToolkit path is refereing to my development machine location therefore its throwing error...what's the solution without making proper deployment. Actually on our UAT all the applications are using IIS 6.0 and if i go on proper deployment and IIS 7.0 (i guess it requires for deployment from Visual Studio 2010) I will have to reconfigure all the applications on UAT which I cannot do at this moment.
Can I create an incremental deployment package using either Visual Studio 2010 Web Deployment Projects or Web Deploy (Web Deployment Tool) .
I need to automatically select changed files from a source and destination or a change set on TFS and build a deployment package only with the changed files.
I have built an ASP.NET (.NET v4) application in VS 2010. It is working just fine. But when I try to create deployment package (so I can deploy it in our test IIS 7.5 Server), it gives me error like this,
Error 1 Could not open Source file: Could not find file 'C:11-2 estobjDebugCSAutoParameterize ransformedWeb.config'. 0 0 test
Thing is in past, I had deployed the SAME application using the SAME method.
If we are deploying ASP.NET web application, Do we need to copy both *.aspx and *.aspx.cs files on the server?Also what if I am using different framework version? I mean 1.1 / 2.0 /3.0 /3.5 /4.0? What will be the answer in different .NET Framework versions?
View 5 Replies want to ask how to open specific file (the file out of the server, i have a relative path to it stored in config file) with its application when click on specific link button or hyper link...like ::open .docx with word.or .pdf with acrobat reader i tried several methods but , i get different errors like "Cannot use a leading .. to exit above the top directory" this my code::
public void ProcessRequest(HttpContext context)
{
int newsId = int.Parse(context.Session["newsId"].ToString());
[code]...
I have written the below code which will open the .pdf file from the silverligt path.as below:
Code:
Uri uri = new Uri(HtmlPage.Document.DocumentUri, "/ClientBin/10c.pdf");
string path = uri.AbsoluteUri.ToString();
HtmlPage.Window.Eval("window.open('" + path + "')");
//HtmlPage.Window.Eval("document.location.href='" + path + "';");
I want to open the .pdf file kept in the root directory of the application, (note - do not hard code)ex: i want to open the .pdf file kept in the below location: C:WebsSLLoadHelp.
I have a folder called GUI. Inside GUI thers another folder called PDF and inside this folder, there are some PDF files. This folder (GUI) is uploaded to the server too. Then I have a WebForm with some ImageButtons. When I click one of these ImageButtons, I want the file to open in a new tab. I tried with the following code:
[Code]....
As you can see, I build the path using the tooltips of the different ImageButtons. The ToolTip = File Name I want to open. When I try this in debug mode, it works. It opens the pdf file in a new tab. However when I publish my website and upload it to the server... it doesn't work... when I click an ImageButton I get the following exception: No application is associated with the specified file for this operation
Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ComponentModel.Win32Exception: No application is associated with the specified file for this operation
Source Error:
[Code]....
Stack Trace:
[Code]....
[Win32Exception (0x80004005): No application is associated with the specified file for this operation]
LandingSite.LnkRelease1_Click(Object sender, EventArgs e) +215
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +108
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +118
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3082
I created a new project to test the Microsoft Enterprise Library 5.0. It asks me to select the PROJECT - ADD NEW ITEM - APPLICATION CONFIGURATION FILE. For some reason, I don't see the Application configuration file option.
View 2 Replieswhat is the way to run asp.net forms like .exe file in Windows without any explorer
View 1 Repliescan we create .EXE file in asp.net Application.
I think we don't have .but my friend is saying it is possible ...
is it possible to create .exe file and install that application in other system...
me and my partner are distant programmer's and now after completing each of our module we want to merge it together and deploy our application , in future we can avoid this delay of merging into a single pc or server ..? so that we can upload or sync our work as soon as we completed it
View 2 RepliesI am using WIX 3.6 for VS2010 to create our MSI's for our web application setups. This is all working fine and all in terms of deployment and uninstall.
I recently allowed the user to specify the virtual directory and application pool names to support side by side installs. This is all fine as I have created my own setup bootstrapper.
The issue is with uninstallation.
If the user does not specify the names and leaves the default values, it will install successfully.
The minute the user updates the names from the defaults, the install process will not remove the app-pool and virtual directory. This is what I have found consistently with my testing.
We are working on an asp.net project. There are 5 developers in the team. The team size might increase in future. Deployment of the project, often creates some problems for us. We are using svn (very much like vss) to update and commit our codes to a common location.Apart from all these, the changes made by one developer sometimes affects the changes made by another. We usually move only the aspx files and dlls to the server. This causes lots of issues to the testing team as the testers need to check the entire application whenever a dll is updated on the server. We are now looking for a deployment method, that includes both pre-compilation as well a means that enables us to do patch releases (like making a change to the aspx.cs alone without having to update the entire dll) If it is not possible, what is the best deployment method that would suit our requirements?
View 2 RepliesWhile developing my web application I was testing using the cassini web server and everything works great! So my program is complete and I am trying to publish it out to a client IIS server on a Windows 2008 R2 server. I have created an app.pool for this application and set it to run with a domain admin users (I am not using the "Administrator" account) since the file processing will be writing the file to a NAS device via a UNC path. When I start the debugging on the server and look at task manager it shows that the "w3wp.exe" is running using the domain admin account, but when I run my code it does not give me a run time error I just get the following warning in the event log.
View 11 Repliesmultiple websites in a webfarm. I need to deploy multi lingual sites under iis likewww.xxx.com will point to a folder where I want to keep all the files and bin folder but the folders below like /en, /fr, /es etc will be having the web.config inherited from the root folder. My problem is1. How to share the bin in the root folder with other websites beneath it. like I havewww.xxx.com pointing to xxx directory and I have /en pointing to xxx/en. Rather than me copying the bin folder to every website? I cannot place in gac as this is multi server env. is there a way i can set all the servers gac to get dlls from one directory?
View 1 RepliesI have an application that is developed with Web forms. I added some new functionlities using MVC by folloiwng the post ttp://www.hanselman.com/blog/PlugInHybridsASPNETWebFormsAndASPMVCAndASPNETDynamicDataSideBySide.aspx . The application works fine in Visual Studio 2008 builtin server but after deployment on IIS 7 with integrated mode, i am facing issues with MVC part of the application. Webform part works fine. Like www.example.com/content/default.aspx (webform) works fine but www.example.com/Home/Index (MVC) doesnt work and saysHTTP Error 404.0 - Not FoundThe resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
View 2 RepliesI think I am finally ready to publish my website but I have a issue that is causing me some confusion.The website has been built on my desktop so it's location is something likeC:Documents and SettingsMeDesktopIn the project, under a folder called "App Data" i have my database and all the connection strings in my website point to this folder.However when I use VS to publish the website if for example I were to publish it tooC:CopySiteobviously even though there is a copy of the database in the "App Data" folder in this location all the connection strings point to the Database location on my desktop. How can I get it so the CopySite "App Data" folder is the one used to store all my data?
View 9 RepliesI have a web site which has been deployed to my client server. after the deployment I found some changes required in code/source file and that needs to be fixed right away. Since my project is so huge I dont want to deploy the entire web site once again to my client server. I want to deploy the updated souce file or updated source file dll.
View 1 Replies