菜鸟问题:请求因 HTTP 状态 403 失败:Access Denied 
新接手了C#的程序,不知道怎么配置服务
1.我新装的程序。
2.建了虚拟路径,指向此服务。
3.运行时,出如题所示的提示

解决方案 »

  1.   

    运行帐号没有权限调用。
    首先,需要确定是调用什么资源被拒绝了。
    是web form页面,还是调用了其他得东西。
    然后再在系统管理中授权就好了。
      

  2.   

    你试一试把文件放在默认的WwwRoot文件里面怎么样
      

  3.   

    我新建了一个网站,试了一下,提示无法在web服务上启动调试,web服务器的配置不正确。
      

  4.   

    Access Denied 
    ----
    看看权限够不够
      

  5.   

    System.InvalidOperationException: 无法生成临时类(result=1)。
    error CS2001: 未能找到源文件“C:\WINNT\TEMP\wsaznb0_.0.cs”
    error CS2008: 未指定输入   在 System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)
       在 System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
       在 System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
       在 System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Evidence evidence)
       在 System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo[] methodInfos)
       在 System.Web.Services.Protocols.XmlReturnWriter.GetInitializers(LogicalMethodInfo[] methodInfos)
       在 System.Web.Services.Protocols.MimeFormatter.GetInitializers(Type type, LogicalMethodInfo[] methodInfos)
       在 System.Web.Services.Protocols.HttpServerType..ctor(Type type)
       在 System.Web.Services.Protocols.HttpServerProtocol.Initialize()
       在 System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)