| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, i'm new to sharepoint and am trying to do the following: i have a wcf service that that i want to comunicate with under WSS 3 using a page i wrote myself. i have created a simple .aspx web page and put it under \LAYOUTS library, it works fine under sharepoint. then i added a wb reference to the web service to a svc file on a remote computer, (using VS2008). the VS can detect the service (intellisense working). I then edited the config.web page in the \80 directory according to : http://blogs.msdn.com/bgeorgi/archiv...harepoint.aspx but when i try to run the page again, i get an error : c:\Program Files\Common Files\Microsoft Shared\web server extensions \12\TEMPLATE\LAYOUTS\import1\Default.aspx.cs(11): error CS0246: The type or namespace name 'SR_MyService1' could not be found (are you missing a using directive or an assembly reference?) at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.Perf ormBuild() at System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplication.IExecutionStep.Execute () at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) i understand that the SR_MyService1 namespace isn't recognized by WSS, but how do i overcome that? or is it only possible under MOSS and not WSS? thanks in advance |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.