How To Compile 64bit Web Site With Visual Studio
Apr 14, 2010How can I make Visual Studio to use the 64bit compiler (csc.exe/vbc.exe) for an Asp.Net web site?
View 1 RepliesHow can I make Visual Studio to use the 64bit compiler (csc.exe/vbc.exe) for an Asp.Net web site?
View 1 RepliesFor the first time in my career, I'm working on an ASP.Net (v3.5) project that has been set up as a Visual Studio 2008/10 Web Site Project.
I'm not keen on this way of working this way for various reasons but for the moment and until such time as the company sees the virtue in working in an environment with namespaces, designer and project files etc., I have to continue with the existing codebase.
I've run into some odd issues since I began this but perhaps the oddest one of all is that althought VS lets me build the code, it doesn't reliably pick up compilation errors so these are not noticed until runtime.
I know the website model allows dynamic/hot compilation when a request is made for a specific but I can't see why it wouldn't do this when I manually (F5) build/rebuild the project. Its immensely annoying as you can imagine and I can't find a workaround.
I have an ASP.NET website that worked fine using and debugging in VS2008. I went through the upgrade process opening the solution in VS2010. I can run the site, but as I make changes in the app_code folder classes, they don't seem to commpile and warn me of compile-time errors. As soon as I get to a point that calls the class, the errors show up. Sounds JIT I guess, but this isn't how it was working in 08. Is there an option that was changed in the upgrade process? This is a large project, I really don't want to break something and not find out until some obscure page is opened.
View 1 RepliesI have asp.net application which in develop on the 32bit environment it works fine when deployed on the server.But the problem is when we are deploying the application on the 64bit environment it is giving two problem.1) Exception: System.InvalidOperationException: The 'MSDAORA.1' provider is not registered on the local machine."2) Exception: System.Exception: Cannot create ActiveX component.After doing some search people saying that recompiler your appliation as x86 to work on 64bit environment.How can i do that? when can I find the option for that in VS 2005.or
View 1 Repliesis it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project
my current project references
i have a very annoying iis problem
iis server stops working until app pool is recycled
i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem
I need to know how to compile my web application in vs2008 so that it can run on a server without the codebehind files being viewed or how i make it and .exe
View 12 RepliesI'm trying to compile (using Visual Studio) an ASP.Net website with the Chilkat library. The compilation fails due to this error: Could not load file or ssembly 'ChilkatDotNet2, Version=9.0.8.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I've been told that this error occurs because of platform noncompliance. The weird thing is that although the compilation fails, the site works once accessed from a browser. My theory is that the IIS compilation uses csc.exe compiler from the Framework64 (64 bit) folder while the Visual Studio uses csc.exe compiler from the Framework (32 bit) folder. If this is acually it, how can I configure my Visual studio to run with the 64 bit compiler for ASP.Net sites? This is my current development configuration: Windows 7 (x64). Visual Studio 2008 Pro (x86 of course...). Chilkat library (x64) IIS/Asp.net (x64).
I am trying to open an existing asp.net app. on my local machine with VS2008. The app. resides in a folder on the Windows 2003 Server. The app. runs on our intranet. Recently, a change was made to the app. directly by opening one of the files in the solution and adding maybe a couple of lines of c# code and saved back. Of course this would not make a difference as its not been re-compiled.
I copied the whole folder where the app. resides on the server to my desktop and then tried to open the solution with VS2008, it came up with a prompt saying the app was written using a previous version of Visual Studio and needed to be converted to VS2008 format, I followed the intructions, but it failed saying something like "...failed to make a backup etc", it wouldn't open the solution.I have successfully open other apps this way but this one particular one would not just open. All I want to do is to use VS2008 to recompile and publish back to the server. I have tried using VS2005, it just says the app. was created by a newer version of the application...
I think the app was built sometime btw 2004 - 2008. Also, if it is relevant, the folder where the app. resides on the server has a globe icon, don't know if its an IIS thingIs there any other way to compile this .net app. without using VS2008,
I want my application to get compiled as a 32-bit application since the dll's that are added are 32-bit dll's.
View 1 RepliesAs that title says my aspx page shows a compile error on the @Page directive that says "ASP.NET runtime error: Cannot load file or Assembly 'Microsoft.SqlServer.BatchParser' or one of it's dependencies". The project compiles with our error and it runs with no problem. The only real problem that this causes it that the intellisense for anything other than simple HTML is broken so I can't type asp:Controlname and have intellisense show me a the list of items or properties in a control. I get a green squiggly line under all the asp tags saying "Unrecognized tag prefix or device filter 'asp'". This project doesn't directly use SQL SMO but it does reference a project that does. However, I removed that reference and the problem still doesn't go away. I have installed on my development machine the full SQL client and for both SQL 2005 and 2008 (including the SDK) from the Developer editions of both versions. This was not a problem on VS2005 and the project compiles without error in VS2010 too.
View 1 RepliesUsing Visual Web Developer 2010 Express. I was used to creating a web app anytime and I would get a default page for starters and be happy. But today I find that when I pick either the ASP.NET Web Site or ASP.NET Web Application templates I get site.master and a bunch of site admin files that I don't want. Alternately when I select the empty versions of those templates, I get almost nothing at all. An almost empty web.config page and no Default.aspx page. There is nothing magical about having a default.aspx page in place, but it is an indicator of a change when I can only get a virtually completely empty website or a website with a bunch of bells and whistles I don't want.
Also, for some reason, when I create a new app or website as just noted, in the Solution Explorer I get aspx.designer.cs files showing as well as web.config files for both debug and release. Somehow some settings and templates must have changed, or am I missing something here? How can I get my settings/templates to go back to the way they were?
I downloaded a trial version of Visual Studio 2010, created a new c# Solution and then wanted to add an ASP.NET Web Site. I am Folllowing an example in a book: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008.In the book they write that a template for createing an c# ASP.NET Web Site would be found, but whereever I search for o template in VisualStudio I cant find that for c#, I could find it for VisualBasic but that is not wath I want!
View 1 RepliesI am getting the following error when I try to establish ftp remote connection using the 'copy web site' feature on visual studio 2005.
unable to open the web 'ftp://209.*.*.*/httpdocs'. The computer is disconnected from the network.
Why can't I connect to the remote site on visual studio 2005? I can do the same thing on Dreamweaver with no problem. I can ping the IP successfully. I can open the ftp URL on a web browser with no problem.
i have an asp.net website which contains a link to a legacy site written in classic asp which has vb 6 classes (dll) in the back ground also.here is what i am trying to achieve:-i want to browse to the asp.net website using IE7,then when the link is clicked then enters the classic asp site i want to start debugging the classic asp and step through it.(also to make things worse, once a the vb6 class is instanciated, and a call make to its method i want to debug the method in the vb 6 code)My system :- XP Pro, IIS 5, Visual Studio 2005 (asp.net project ), Visual interdev 6 (classic asp project) Visual Basic 6 (vb 6 classes compiled into dll)i have been trying everything with no joy, there is lots on the net but nothing seems to have worked.i have the back office components installed so asp debugging is possible, i have configured the asp website s debugging is turned on.if i add a breakpoint to the classic asp site and hit the start button in visual interdev i can step through it fine.My problem is that if i attach interdev to a process (iexplorer.exe or dll.host) then the breakpoints are not hit. if anyone can help me with this it would be great.ont top of that, if anyone can explain to me how to also debug the vb6 dll code in visual basic 6 when it is called from the classic asp site that would be great!
View 1 RepliesWhen I'm building my web project it takes about 20 seconds to compile. Then when I try to browse to a web page in project, asp.net does its runtime compilation(another 20 seconds). I know I can't escape these steps because thats how asp.net works, just want to see if anyone has some kind of optimization to make these builds faster.
Trying to improve Edit-Compile-Test loop
My machine details:
-Intel Core i7 processor @2.80GHz
-8GB of RAM
-HD @ 7200 RPM
More familar with DreamWeaver. Can i sync pages with the live site from somewhere in Visual Web Developer? Or do I need to use a separate FTP tool.
View 3 RepliesApologies if this is is in the wrong place but I'm not sure where this issue fits. My issue deals with setting up an ASP.NET 64bit website on IIS6 (W2003 R2) so it could be a compiling problem or an IIS setup issue - I've read so much now I'm all tied up in knots.I have a web app which has been written on top of my company's custom framework, both have been compiled in .Net 2.0 with the "AnyCPU" option and run quite happily on my laptop within Visual Studio 2008 (on a Windows 7 Enterprise 64bit laptop). All of the code is managed code with the exception of 1 3rd party dll that I think is still 32bit.
Question 1: when running on my laptop in VS, is my web app running in 32bit or 64bit mode, given the OS is 64bit? I have both versions of .NET 2.0 installed.I have a new desktop that is to be our test server, and has been installed with Windows 2003 R2 and had IIS6 configured (same as the production environment). Again, both versions of .NET 2.0 are installed. When I copy my web app to the server and browse to the site, I get the dreaded "%1 is not a valid Win32 application", and sometimes (depending on what settings I've been playing with) "Service Unavailable" messages. If I register the .NET version to 32bit, and set the IIS 'Enable32bitAppOnWin64' to true, the app runs happliy the same as when on my laptop......but I don't want it to do that! I want to run IIS to run in 64bit mode with the 64bit .NET 2.0 Framework!Question 2: What does IIS see to make it think that my app is a Win32 app or am I interpreting that message wrong? Is the fact that I have 1 32bit dll in the in folder enough for IIS to say "32bit" and keel over?
My understanding of the "AnyCPU" option was that as long as the code is all managed code within the application, the bitness of the OS does not matter so I cannot understand why IIS6 cannot run the app in 64bit mode....and no, installing IIS7 is not an option.
My asp.net 2005 old application was working on windows 2003 server. I have used asp.net hashcode method to store user password in database. Now I shifted my asp.net 2005 application on windows 2008 R2 server. But my Password hashcode logic is not working due to 64bit windows 2008 server architecture & 64 bit IIS 7. I dont want to set IIS on 32bit mode.
So How can I check my 32bit user password on windows 2008 64bit server with 64 bit IIS without changing hashcode logic?
I'm having a site done in ASP.NET and part of the quote is deployment. It's only one page at the moment. Can I configure VWD to download my app to my PC in VWD?
It will also have a Telerik RadGrid that VWD doen't support, will I still get the page wih some kind of placeholer?
When I updated from 2.0 - 3.5 I just changed the target in visual studio and it fixed my web.config then I just deployed that.
Is the upgrade to 4.0 the same deal?
Can I keep the current site @ 3.5 (with the target framework attrib), but still be able to get the 4.0 goodies like Workflow 4 assemblies?
I have a simple website and can publish it locally to my localhost as the default website.
However, when I try and publish to a different server, VS2008 keeps asking me for the servers id/password.
I have published successfully bwefore to this server from a Windows XP PC running VS2008.
Only difference is that I am now running my VS2008 on Windows 7.
What is the difference between a Web Application and a Web Site?
These are the steps i am following crating the both:
File - new Project - Visual C# - ASP.NET Web Application
FIle - New Web Site - Select "ASP.NET Web Site"
I know this a simple doubt but i want to know.
I install team foundation server . after that I want to create web site . I click -->file -->new web site --I can't chose any project because display empty box
View 3 RepliesI am struggling to publish a site built (and working locally) using VWD 2010 Express to a production server.I realise that this is because I don't understand enough about the relationship between the website and SQL server and I certainly don't know enough about the way SQL server works in general. Can anybody recommend some learning resources - books, tutorials, vids etc, that explain the background and in particular address the issue of how to publish to a production server.
View 2 RepliesI have published my website using VS2010 and then selected FTP Site.Problem is that it does not show me update status. and takes too much time as compare to other FTP client. Is there any way or plugin for visual studio 2010 so i can build and directly publish that on FTP server.
View 2 Replies