Viewed 8 times
I have Web Application that contain the aspx and asmx page, which i have published in root folder. Everything working perfectly then i change the folder cp (httpdocs/cp/)and publish my web application to cp folder . in this folder the asmx file is not working. it giving me the error :
Could not create type 'Time_Doctor_WebApp.App.Allproject'.
Line 1: <%@ WebService Language="C#" Codebehind="Allproject.asmx.cs" Class="Time_Doctor_WebApp.App.Allproject" %>
Source File: /Cp/App/allproject.asmx Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3690.0
i upload an empty asmx file which also giving me this error? when i publish application to httpdocs folder then everything work perfetly including asmx pages.
It only give me error in cp folder when publish app to cp folder. Need Help ?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)