You are here:   Support > User Forum
Register   |  Login

Invenmanager User Forum

Minimize
problem compiling projects - 4 errors on all projects
Last Post 31 Jan 2012 02:00 AM by Inven Manager. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Brian Kevitt
New Member
New Member
Posts:8

--
27 Jan 2012 03:46 AM  
I have 5.0.5 source, haven't made any modifications yet. When I try to compile in VS 2010, I receive 4 errors. I have added each of the projects to a DNN 6.1.2 install. I have added references to all of the dlls in the reference folder to each of the projects.

'SamportWSAPI' is ambiguous in the namespace 'Hyper.Modules.EventsCalendar'. C:\inetpub\ECR5.0.5-SourceCodes\Event Calendar Components\Components\Samport\SamportConnector.vb 34 39 EventCalendar.Components


Error 6 Type 'ScriptService' is not defined. C:\inetpub\ECR5.0.5-SourceCodes\Event Calendar & Registration\webservice\wscall.asmx.vb 11 6 EventsCalendar.Main


Error 7 Type 'ScriptMethod' is not defined. C:\inetpub\ECR5.0.5-SourceCodes\Event Calendar & Registration\webservice\wscall.asmx.vb 16 10 EventsCalendar.Main


Error 8 Type 'ScriptMethod' is not defined. C:\inetpub\ECR5.0.5-SourceCodes\Event Calendar & Registration\webservice\wscall.asmx.vb 44 10 EventsCalendar.Main
Inven Manager
Senior Member
Senior Member
Posts:6849
Avatar

--
27 Jan 2012 12:32 PM  
Hi,

1. You do not need to add the reference to EventsCalendar.dll.

2. How about if you change: ScriptMethod to: System.Web.Script.Services.ScriptMethod() ?
========================================
Delivering high value DotnetNuke Modules to save your time and resources
Brian Kevitt
New Member
New Member
Posts:8

--
28 Jan 2012 06:03 AM  
I can get rid of the last 3 errors by importing System.Web.Script.Services. However the other errors still remain.

Imports System.Web.Script.Services

Error 1 Could not create type 'Hyper.Modules.EventsCalendar.wscall'. C:\inetpub\dotnetnukedev\DesktopModules\EventsCalendar\webservice\wscall.asmx 1
Warning 2 Variable 'strValue' is used before it has been assigned a value. A null reference exception could result at runtime. C:\inetpub\ECR5.0.5-SourceCodes\Event Calendar Components\Components\PageBase.vb 402 20 EventCalendar.Components
Error 3 'SamportWSAPI' is ambiguous in the namespace 'Hyper.Modules.EventsCalendar'. C:\inetpub\ECR5.0.5-SourceCodes\Event Calendar Components\Components\Samport\SamportConnector.vb 34 39 EventCalendar.Components
Warning 4 XML comment block must immediately precede the language element to which it applies. XML comment will be ignored. C:\inetpub\ECR5.0.5-SourceCodes\Event Calendar & Registration\ascx\EditEventsCalendar.ascx.vb 1464 11 EventsCalendar.Main
Inven Manager
Senior Member
Senior Member
Posts:6849
Avatar

--
28 Jan 2012 01:37 PM  
Did you remove the reference to reference to EventsCalendar.dll.
========================================
Delivering high value DotnetNuke Modules to save your time and resources
Brian Kevitt
New Member
New Member
Posts:8

--
30 Jan 2012 04:27 AM  
No, I hadn't. That got rid of all but the first error. Error 1 Could not create type 'Hyper.Modules.EventsCalendar.wscall'.
Inven Manager
Senior Member
Senior Member
Posts:6849
Avatar

--
31 Jan 2012 02:00 AM  
Try to remove the reference to: \EventsCalendar\webservice\wscall.asmx and try again.

It looks like your VS cannot find the .vb file for the web service.
========================================
Delivering high value DotnetNuke Modules to save your time and resources
You are not authorized to post a reply.

Active Forums 4.1