FORUMS

c360 Forums
 Home        Members    Calendar    Who's On

Welcome Guest ( Login | Register )
      


««12

license exceptionExpand / Collapse
Message
Posted 4/6/2006 5:28:55 PMPost #163
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
I never have had anonymous users turned on. Where do I have to turn on:
crm.config
web.config


is this even the right key?

I love the project though, one more unrelated question, is hyperlink support in the grid working yet?

Thanks!

-Josh
Posted 3/5/2007 12:43:46 PMPost #1266
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
I am experiencing a similar problem, and wonder if this was resolved and what the resolution was.

First let me detail my set-up:

Two Virtual systems Development & Test

Development has the following: 

  • SBS 2003
  • CRM 3.0
  • VS2005
  • VS2003

Test has the following:

  • SBS 2003
  • CRM 3.0
  • I have installed C360 sdk in a number of projects, using the methods detailed in the training manual and in the online video. Created the projects using the file system, and have had no errors or problems other than maybe of my own making .

    Have shown the results to the customer and they seem happy, therefore looked at installing this week. Over the past few days, I have treid publishing the website to a new website, set-up with the following:

    A website with a virtual directory call c360Sdk, also set-up as an application, the website port is 5560, no annomynous login allowed.

    I have attempted the following, starting afresh each time by shutting down the Virtual Machine but not committing the undo disks (Oh how I love this feature) :

    1. Published the website from VS2005, all files except license were published to the website, copied the license file to the required destination.
    2. Copied the files to the website from VS2005 using the "copy website" feature
    3. Copied the files from the development directory to the virtual directory.

    I have experienced the virtually the same problem each time I have tried to access the "default.aspx" file either by browing in IE6, or using the IIS msc and right click "Browse"

    The problem is I get the following screen shot, see the attached file deploy errors.txt for the text of the error.

    I have tried adding the key impersonate=true in the web.config file but I get the same error. I also tried changing the c360Location key to / as well as keeping it as /c360Sdk/. I should add that Iget the different error when using /.

    Obviously I can view the pages when using the ASP Development Webserver that comes with VS2005.

    Additionally if I create a website without c360 SDK, inother words a website with just a default.aspx with the old faithfull "Hello World", publish it, copy it etc, it displays as expected.

    I would appreciate any help or guidance on this matter, I like the SDK and it has proved a bonus in my customisations but I must be able to use the pages produced outside the sponsorship of VS2005. Maybe I should add that I have fully tested them in CRM 3.0 without any issues, with VS2005 "hosting" them, using "http:localhost:xxxx/c360Sdk/yyyy.aspx" in both ISV.Config and Site.xml settings.

    Is there other information you require? The following is a synopsis;

    I can view the pages when using the webserver within VS2005 but not when using IIS, regardless of the method of publishing,copying them to the target website.

    I have attached the text from the warnings issued the last time I tried to view the webpage (which is the default.aspx as prescribed in the installation video), I cannot upload this text file at the moment the dialog box has crashed and will not let attach another file (11Kb in size)

    Thank you in advance

    Steve

      Post Attachments 
    deploy errors.txt (148 views, 3.00 KB)

    Posted 3/5/2007 12:44:49 PMPost #1267
     

    Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
    Attachment mentioned above

      Post Attachments 
    eventErrors.txt (266 views, 10.83 KB)
    Posted 3/5/2007 12:47:00 PMPost #1268
     

    Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
    Should mention that the IIS server is on the Development machine, so I was publishing to a local IIS. SDK is 3.0.7
    Posted 3/5/2007 1:22:48 PMPost #1269
     

    Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
    Hurrah I have now got the system working, basically, I had a cup of tea and started documenting the days work ( a chore I loathe ), whilst performing this task I checked and rechecked the web.config file, I could not see anything wrong in there although I did not have the <authentication mode="windows"/> key mentioned in one of your posts, but horrors upon horrors c360sdk instead of c360Sdk!!! Made the change a yes it works. Is the authentication mode="Windows" required? Even if you have annon = false in the properties of website, virtual dir etc?

    Steve

    Posted 3/5/2007 2:50:21 PMPost #1270
     

    c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
    I'm glad you finally figure it out!!!

    Is the authentication mode="Windows" required? Even if you have annon = false in the properties of website, virtual dir etc?

    Yes it is. This config value indicates to ASP.NET which authentication method you want to use for "non-anonymous" users. ASP.NET supports many authentication methods (I am aware of 3: "forms", "windows" and "Passport" but there could be other methods as well) and you must indicate which one you want to use.

    I believe that CRM 4.0 will support forms authentication so that it can work in hosted/multi-tenant environments, but version 3 only supports "windows" authentication.

    I hope this help you understand why this key is required and why you must set it to "windows".

     

    « Prev Topic | Next Topic »

    ««12

    Reading This TopicExpand / Collapse
    Active Users: 0 (0 guests, 0 members, 0 anonymous members)
    No members currently viewing this topic.
    Forum Moderators: kanika.jackson, Ken Champion

    PermissionsExpand / Collapse

    All times are GMT -5:00, Time now is 12:57pm

    Powered by InstantForum.NET v4.1.4 © 2008
    Execution: 0.344. 19 queries. Compression Enabled.