Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Creation Help?Module Creation Help?
Previous
 
Next
New Post
6/19/2007 3:49 PM
 

How critical is CLS compliance in DNN?

I have no errors in VS2005 but i have 6 warnings.... 4 of which are saying roughly...

Warning 1 Return type of function 'FindServiceClass' is not CLS-compliant. C:\DotNetNuke97\App_Code\ParcelRoute\Global.asax.vb 119 34 C:\DotNetNuke97\

just shooting blanks in the dark....

Could this be anything to do with my problem?

Trev


www.taxiroute.co.uk - Get a Fare Price!
 
New Post
6/21/2007 3:52 AM
 

Hi Mike,

Where do I go from here?

I *think* what you are saying is that DNN cannot do what I am trying to make it do. Would that be correct?

Is there anyone I can escalate this problem to? I see you are on the Core Team, is there anyone you can suggest it gets shown to? With more and more web references becoming available I feel sure more people are going to come accross this problem.

Thanks

Trevor


www.taxiroute.co.uk - Get a Fare Price!
 
New Post
6/21/2007 5:01 AM
 

Hi Mike,

Following on from your comments about partial trust...

I have managed to find a document written by Shaun Walker on the subject of "DotNetNuke Code Access Security"

http://www.dotnetnuke.com/LinkClick.aspx?fileticket=ko3NOxfqlno%3D&tabid=478&mid=857

In it he talks about making changes to the web.config file to allow access to a different URL - i quote:

"In Medium trust, web service permissions are limited. By default only calls to the current site are supported. See the next section for details on options for supporting additional site(s)."

Enabling non-local Web service access
Adding a single additional domain
It’s possible to add a single domain in your web.config file by utilising the originUrl=
attribute (note: this supports wildcards so you can use url’s such as
"http://feeds.moreover.com/*" to access multiple feeds).
<trust level=" " originUrl="http://feeds.moreover.com/*"/>

So, i started jumping up and down with excitement. I really thought this could be the answer to my problems.

So, I added the following to my web.config

<trust level="High" originUrl="http://staging.mappoint.net/*"/>

But, nothing changed, still the same error.

If Shaun's document is correct, the above setting should have opened up access to the MS MapPoint WebService. So, again, I ask myself, "Is this problem to do with something else and not the trust"?

Any thoughts anyone please?

Thanks

Trev


www.taxiroute.co.uk - Get a Fare Price!
 
New Post
6/21/2007 5:11 AM
 

Hello Again...

I get the feeling nobody likes me anymore... nobody answers my posts... boo hoo...

Anyway, with the help of the following forum posting

http://www.dotnetnuke.com/Community/Forums/tabid/795/postid/27835/Default.aspx

I have now managed to compile my Web Reference into a Proxy class and add it to my app_code/ParcelRoute directory. This has enabled me to remove the Web Reference from the application completely. So, I now have no Web_References in my project at all. I now have a ParcelRoute.MapPointServices.vb in my app_code directory. Again, all compiles fine!

BUT GUESS WHAT????

Still the same bloody error.

Oh please, someone help me!!!

Trev


www.taxiroute.co.uk - Get a Fare Price!
 
New Post
6/21/2007 5:36 AM
 

Mind you... I am now getting this Warning in VS2005....

Warning 11 Namespace or type specified in the project-level Imports 'ParcelRoute.MapPointService' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

I'm more and more leaning towards this being a code error and not a Web_Reference problem...

What's the fix for the above please?

Trev


www.taxiroute.co.uk - Get a Fare Price!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Creation Help?Module Creation Help?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out