Configuration :: Windows Update Completey Broken Server?
Oct 16, 2010
using windows server 2008 r2iis 7.5netframework 4.0after i installed these windows updates my server really got messed up.here my whole config file
[Code]....
here my iis configafter i did windows update today i started to get this error constantlyMessage nable to validate data. tackTrace at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
I've installed IIS for Windows Server 2008 SP2 and Windows 7. In both instances, I can't get even the simplest of ASP.net scripts to work (note: I'm ftping the published files from Visual Web Dev 2008 Express on XP):
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error
[Code]....
Line 36: ASP.NET to identify an incoming user.Line 37: -->Line 38: <authentication mode="Windows"/>Line 39: <!--Line 40: The <customErrors> section enables configuration Source File: C:inetpubwwwroot estweb.config Line: 38
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
<customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> 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 <customErrors> configuration tag to point to a custom error page URL.
This is annoying more than anything, but I have no working Intellisense when I use any of my custom web controls in .aspx/.ascx pages. Intellisense in standard <asp:...> controls are fine, as it is in all code-behind files etc.
I'm pretty sure this is caused by Visual Studio attempting to analyse the website's bin folder for custom web controls, and throwing a hissy fit when it gets to one of the DLLs - a (mixed-mode) 64-bit managed C++ assembly (I'm running 64-bit Win 7). It seems that Visual Studio tries to load this assembly, and fails, due to VS being a 32-bit app.
I looked for an option to get VS to ignore the 64-bit assembly (there are no web controls in it - they exist in another standard assembly), but alas, nothing to be found.
I am trying to deploy my MVC application to IIS 7.5. According to the ASP.Net MVC 2 in Action book (pg 82) all i have to do is copy the bin, content, global, scripts, views, and web.config folders and files. However, when I try to go to the app all the image, scripts, and stylesheet links are broken. If I try to "fix" the links for example "../../Content/myImage.jpg" to "/Content/ccac_logo.jpg" the images will work in IIS but not in the local development server (that comes with VS). In addition, I cant get the script files (like jquery-1.4.1.js) to work at all when served in IIS. What am I missing?
Does anyone know of any requirements to get the Ajax Control Toolkit (Calendar Extension in particular) working in this OS? I have it working on my local macjine (VS 2010 Development Server) but it doesn't work when published to my Virtual Server running Windows Server 2008 R2. No errors are reported, just nothing happens when I give focus to the Calendar textbox (no Calendar appears).Anyone know of any configutrations that need to be made in Windows Server 2008 R2?Is there a 32-bit/64-bit issue with the Toolkit?
I've been given a virtual dev environment being windows server 2003 and I need to publish a web app to it. I've deployed apps quite easily using the publishing wizard but I'm not sure how to do deploy to a windows server.. can someone please provide a link or a guide on how to do this as I need to set it all up and I really don't know where to start.
I have built my site using VS.Net 2010 on my XP machine. I would like to deploy it to my server which is a Windows 2003 Server. I have tried to do it with FTP, but it keeps failing with the error that "Front Page Extensions are not installed on the web server". When I check the server the extensions were installed and I also checked IIS and the service for the extension is allowed.
I'm deploying a web site to a server I've set up for testing. The website works great in development (Running in VS 2010) as well as in production on multiple client sites. I'm simply trying to test the site in a new environment. I simply copied the complete site (pages, code, directories, everything...) to my server. In IIS7 I created a new web site pointing to the directory containing my site's files and directories. I can open my site and my initial login page loads.
Database connections are made, page and buttons all seem great. Then, I log in. In the first line of code that attempts to instantiate an instance of a class contained in my App_Code folder, an exception is thrown, 'Invalid object name'. I've messed with as many settings as I could in IIS7 but to no avail. I've searched the internet on something regarding this, but nothing seemed to apply. At this point I'm about ready to install Visual Studio on my server to get it to run (this was the route one of the other developers took).
We have multiple websites deployed onto Windows 2003 WebServer running under .NET Framework 2.0 SP1 version and now we want to upgrade it to .NET Framework 2.0 SP2, so just wanted to check that after upgrading the .NET Framework on the server do we also need to re-deploy the websites by recompiling them in .NET Framwork 2.0 SP2 version or it's not necessary as they will automatically start referencing the latest assemblies?
we are a company that owns more than 12 domains and we would like to have our own server in our office that we could put our websites, ms sql database in. we are thinking to get Windows Server 2008 R2 but we do not know how to proceed in order.
are we allowed to have our own server in our office to store our websites, sql servers?is it going to work fast if we have one or is it going to be slower than now ( we have dedicated server now)how do we pay? do we need to pay every year or we pay once and then it is all ours? I await for the replies.
I have developed a website in ASP.NET and deployed on IIS 6.0 server on windows Server 2003.I used asp.net 2.0,SQL server 2005,AJAX and javascript .It is working.The problem I have that this website is slow. How did I deployed website on IIS? I went to Build-->Publish Web Site and it then created a folder with all pages, I simply copied that folder on webserver and put path in IIS. Is that a correct way to deploy aps.net webite or not? let me know is any other best way to deploy website that can make my website faster.
I need to deploy an asp.net 4 website on a windows server 2003 remote server. I have updated the server's .net framework to 4.0 and installed IIS 7. how to deploy the website because I have no idea how to.
when I deploy a website in IIS Windows Server 2003 R2 . First time deploy, it seemed no problem at all (fyi, the one who deploy for the first time is not me, but my friend) but after one or two days this problem occur. I can't browse from IIS and Internet Explorer. In Internet Explorer the page display:
"Internet Explorer cannot display the website." The worse, no error log data ever produced in Application category in Event Viewer.
I've tried change the address from localhost to 127.0.0.1 but the response is still the same. I even tried access just localhost alone. It should display the default homepage from IIS but the response is still the same too. I've checked IIS' Web Service Extension, the Active Server Pages and ASP.NET 2.0 are set to allowed. I also have tried make a virtual directory with just index.html inside and the response is still the same.
FYI: The server seems run in 64 bit (HP Proliant server). The website I build only used ASP.NET Ajax 1.0 and Crystal Report for VS 2005. From the server, I can access the internet but not the localhost.
i am using windows server 2008 and IIS , somebody installed Dynamic Business Portal everytime users trying to use the portal they enter the servername or by ip @ of the windows server /Bp but a login authentication asking them to insert a username and password they can t login the system even they enter their windows authentication
I published another new ASP called Mytest users put name of ther server or ip of the server /Mytest they were able to access the page and no pop up asked them or authentication I added IUser and Everyone and enabled full access.. i check the PB configuration in IIS it was the same Everyone and Iuser are added and full access is enabled how to get rid of the authentication popup
I have a website build with .Net 2.0 Framework, I tried to deploy it in iis 7 ( Windows Server 2008 ). I get the following error when i browse the project. Server Error in '/' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Your application is not running with full trust. Please call AspxLab.WebControls.Runtime.Initialize to manually initialize AspxLab Controls runtime environment. Source Error:
[Code]....
Stack Trace:
[Code]....
[SecurityException: Your application is not running with full trust. Please call AspxLab.WebControls.Runtime.Initialize to manually initialize AspxLab Controls runtime environment.]
a..ctor() +540 az..cctor() +140
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
I want to deploy asp.net 4.0 web site on windows server 2003, Now I already have a classic asp site running on it. Would there be any problem if I install .net 4.0 framework for my new site. Will the existing site (the one in classic asp) be affected?
My web app, Web.Config file is larger than 250 kb. To resolve this problem, before on windows server 2008 iis 7.0 32bit, i have created a key with regedit in HKLMSoftwareMicrosoftInetStpConfigurationMaxWebConfigFileSizeInKB, and this work perfectly.
Now on windows server 2008 R2 64bit, this key is not more supported, it's my idea.....
What is the solution ? I can't split my web.config.....
How to bypass this security restriction by default ?
I have web app written in .net 4.0 using url routing. It works fine in the development environment in VS 2010.But It's not working after publishing to iis7. on remote server i'm getting error HTTP Error 404.0 - Not FoundThe resource you are looking for has been removed, had its name changed, or is temporarily unavailable. I tried in virtual directory and it's not working.[URL]
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.
I want to import a DLL (built on VC) in asp.net, and I have a major problem in PRODUCTION Box (IIS 7 and Windows 2008 server). First: I want to say that this DLL works fine in my DEV Box with web application written in C#, and my development server (Win XP SP 3, .NET Framework 3.5 and IIS6). But when I upload my code (web application code + DLL) in PRODUCTION Box (IIS 7 and Windows 2008 server). Web application doesn't work with DLL any more. I am sure that Asp.net knows this DLL well, and if it did'nt recognize it would give me an error, but my problem is that my DLL does'nt works proprely when I run it in IIS 7 under Windows 2008 server. Do you know any solution ? Can it be something with the IIS 7 permissions?
I have an application which is used by others on different server without problems. The app was programmed by a programmer who is not available now. It was developed on .net 2.0. The windows 2003 is a new server, asp.net is enabled. from iis, I can configure it to use asp.net 2.0....,
but, when I load the site, it always show the 404. even after I change the default.aspx to a blank page, it still shows 404. however, if I put a default.htm in the folder, and it can be loaded without problems.
what can cause this? how to fix it? if I installed a vs2005 express on the server, will it fix the problem?
it seems the asp.net 2.0 dll is not recognized on server. never had this problem before.
I have developed a website using visual studio. Now i want to deploy the same on server having windows server 2008 o.s. and IIS 7. When i copy the website and paste it into wwwroot folder of iis its not working. What settings need to be done so that website can be accessed from iis.