After deployment of new version of our ASP.NET 2.0 application, it started to raise security exception: „System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.“.
After quick research on internet we were ...
Hi,
I had installed a new IIS7 on a Win2008. Everything worked perfect on the server, but everytime a computer in the LAN tried to browse the web server the client got an error
401 - No autorizado: acceso denegado debido a credenciales no válidas.
No tiene permiso para ver este directorio o esta página con las credenciales que ha propo...
I am trying to use custom error pages using redirects in IIS7. This is my code:
<httpErrors>
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" prefixLanguageFilePath="" path="/Pages/NotFound" responseMode="ExecuteURL" />
</httpErrors>
As you can see the line <remove statusCode="404" subStatusCode="-1" /> ...
I have some ASP code that creates a virtual directory in IIS.
However, when running on IIS7 in Windows Server 2008 R2, the call to GetObject fails with "permission denied". This only occurs when UAC is enabled; the entire process works perfectly if UAC is disabled.
Set objIIS = GetObject("IIS://localhost/W3SVC/" & siteNumber & "/Root"...
I am trying to set up a rewrite rule in IIS7 to hide page extensions (.aspx) but also field and pass querystring parameters to the page.
For example, if the original URL is:
www.mysite.com/page.aspx?pid=a
how can I get it to rewrite to
www.mysite.com/page
but still pass the querystring value to the page?
...
Hi,
Maybe some one can help me understand why i can't create sub domain. My site is working fine for
mydomain.com and www.mydomain.com
but when i added staging.mydomain.com to the bindings i can't reach to that address for some reason. i read a post here that someone mention the app.config handler setting but i don't know what.
than...
Ok, please bear with my noob question here.
I'm doing the simple task of making an update to my mvc application, compiling it and then moving in onto the production server.
I just wan't to know the best way to upload the compiled files. I have a single application pool, use ftp to upload the new application files and the site points t...
HI,
Is there any sample application available for Smooth streaming in Silverlight for IIS7?
Thanks
...
I've got problems when I deployed my mvc website with IIS 7.5.
On my solution in VS 2008, I published web to an specified folder. Then I go IIS version 7.5 create a virtual directory to my published folder then convert it to web application.
When I run it http://localhost/myMVC my flash can't specified file , when I type http://local...
When request comes to www.example.com/default.aspx, I want it to 301 to www.example.com. How to do that?
PS - I tried many rules but nothing seems to work. Thanks.
...
I've been searching though a number of posts and still can't seem to get a straight answer or at least one that works for me. From what I can tell is is some kind of routing issue. In fact I'm pretty certain of it. When I visit any of my web pages it comes back as a blank page with no data.
Also I am using VS2010 asp.net mvc2 on window7...
I'm having trouble constructing the correct rewrite rule.
Here's what I need the rule to do:
http://www.mydomain.com/this-is-my-page
http://www.mydomain.com/blog/this-is-my-page
...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 to develop ASP.Net application on IIS 7.0 + Windows Server 2008. Using SQL Server 2008 as backend. My question is, in order to achieve best web page performance form end user perspective, any principles to follow? Any good tutorials or samples to learn?
thanks in advance,
George
...
I have a web application that accesses Windows resources on another server. The code is fine and when I run it through the debugger it's able to see the remote resources without any difficulty, but when I put the code into IIS it fails with ACCESS_DENIED. I'm trying to see what rights I need to give to the web application.
Difficulty:...
Hi friends!
I'm developing small application for my colleagues, I have some procedure on SQL Server, which returns XML. And I'd like to publish this XML on the Web server.
I think that should exist easy way to do it, but I can find it.
I have the following setup:
SQL Server 2005 Standard
IIS 7
Windows Server 2008
best regards
...
Has anyone seen the following exception and knows what the cause is. Recently deployed code live and started seeing exceptions which forced roll back. On Windows Server 2008 and IIS7.0. The full stack trace seen below.
NHibernate.HibernateException:
Creating a proxy instance failed --->
System.Runtime.InteropServices.COMExcep...
I've been given an ISAPI extension dll compiled in VC6 which calls "ServerSupportFunction" through MFC's CHttpServerContext class.
The code looks something like (assume Ctx is object of the class CHttpServerContext)
CString str;
str = "Content-Type: text/plain\r\n";
str += "Content-Length: 200\r\n";
str += "\r\n";
DWORD len = str.GetL...
i created virtual directory in IIS + Windows 7 for my MVC application, most of the pages are fine. However for example, I have Page A has action link to Page B, after I update/save detail in Page B it redirect to Page A. When I go to Page B again it still shows the old data, I need to refresh the page to show the updated data.
This iss...
Hello
I tried to use DirectoryEntry in order to access IIS 7 'IIS://localhost/W3SVC'. I'm logged as Domain administrator. I get error that object doesn't exist. I use ws2008 R2. Under local administrator everything works correctly.
What is more I can access IIS properties and configure IIS under domain administrator account.
I know ...
When trying to access my site:
www.X.com
The browser changes the url to:
www.X.com/
The problem is that the result url is:
www.X.com/HomePage.aspx?ReturnUrl=/
(HomePage.aspx is the default page)
On IE: www.X.com/HomePage.aspx?ReturnUrl=%2f
For some reason the Forms Authentication treats / as a page that the user is trying to acc...