Using External Users
Moderator: SourceGear
Using External Users
Hi. According to the documentation, when ExternalUsers are enabled on a project, you should be able to provide a link to the http://localhost/dragnet/external/addit ... px?pid=101 and anyone should be able to add an item - is that right?
If so, why is it then when I go to this link, it immediately kicks back into "enter login" information.
Shouldn't they be able to bypass that?
Or am I misunderstanding the feature?
If so, why is it then when I go to this link, it immediately kicks back into "enter login" information.
Shouldn't they be able to bypass that?
Or am I misunderstanding the feature?
It shouldn't prompt for any login. Did you run an upgrade / modify when installing Dragnet 1.0.1 or did you un-install / reinstall?
Can you examine your Dragnet server's web.config for the following XML element?
Also note, the feature must be turned on. If you view the particular project's properties, you will have to enable the "Allow external submissions" property.
Can you examine your Dragnet server's web.config for the following XML element?
Code: Select all
<configuration>
<location path="AddItemExternal.aspx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>
Jeff Clausius
SourceGear
SourceGear
External User
Jeff,
Thanks - I think the web.config was the problem. By default, it's turned off so it wouldn't permit it.
Now that I made that change - it worked perfectly!!!
Thanks so much!
Thanks - I think the web.config was the problem. By default, it's turned off so it wouldn't permit it.
Now that I made that change - it worked perfectly!!!
Thanks so much!
Spoke too soon
When I made the change, I could access it remotely but now when I try to access it internally, I get an error.:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
In addition, hitting the Submit button on the remote page doesn't do anything.
The call stack shows:
[NullReferenceException: Object reference not set to an instance of an object.]
MantisServiceLib.Helpers.ListTrackingStartPage(Page mPage) +84
Mantis.Default.Page_Load(Object sender, EventArgs e) +48
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
I just did an IISRESET to see if that helps anything. Now I get an App Event Log message that says:
The account that the current worker process is running under does not have SeTcbPrivilege privilege, the anonymous password sync feature and the Digest authentication feature are disabled.
Now I'm not running ActiveDirectory - so what do I have to change to get this running again?
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
In addition, hitting the Submit button on the remote page doesn't do anything.
The call stack shows:
[NullReferenceException: Object reference not set to an instance of an object.]
MantisServiceLib.Helpers.ListTrackingStartPage(Page mPage) +84
Mantis.Default.Page_Load(Object sender, EventArgs e) +48
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
I just did an IISRESET to see if that helps anything. Now I get an App Event Log message that says:
The account that the current worker process is running under does not have SeTcbPrivilege privilege, the anonymous password sync feature and the Digest authentication feature are disabled.
Now I'm not running ActiveDirectory - so what do I have to change to get this running again?
External user
Jeff,
To answer your question - yes. I can't even log into DragNet at all anymore.
To answer your question - yes. I can't even log into DragNet at all anymore.
Logging in
Jeff,
More on this. I looked at my entire Web.Config.
I was incorrect the last time.
The line I changed in WEb.Config was the first one that says
<authorization>
<!-- <allow users="*"/>--> <!-- Allow all users -->
My ExternalAddItem.aspx is already set to allow users *. If I modify the main one to Allow Users. I can get access to the page remotely but I can't submit it.
When I do this, I can no longer access DragNet (with the earlier noted messages)
When I reset it back so that the main web.config authorization does not allow users. It works fine.
I tried to see if my install was correct but the link on the web site to the installation guide is invalid.
If you think it would be easier to speak with me about this, my number is 613-851-4496. Otherwise I'll keep on posting here.
Thanks
More on this. I looked at my entire Web.Config.
I was incorrect the last time.
The line I changed in WEb.Config was the first one that says
<authorization>
<!-- <allow users="*"/>--> <!-- Allow all users -->
My ExternalAddItem.aspx is already set to allow users *. If I modify the main one to Allow Users. I can get access to the page remotely but I can't submit it.
When I do this, I can no longer access DragNet (with the earlier noted messages)
When I reset it back so that the main web.config authorization does not allow users. It works fine.
I tried to see if my install was correct but the link on the web site to the installation guide is invalid.
If you think it would be easier to speak with me about this, my number is 613-851-4496. Otherwise I'll keep on posting here.
Thanks
The additional entries in Web.config for external items should actually be:
<location path="Error.aspx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="External">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
Remove the <location path="additemexternal.aspx"> entry and add the above entries to web.config.
I am not sure if that is the cause of the problem you are seeing or not.
If you continue to have problems, email me your web.config file (use the email button at the bottom of this message).
<location path="Error.aspx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
<location path="External">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
Remove the <location path="additemexternal.aspx"> entry and add the above entries to web.config.
I am not sure if that is the cause of the problem you are seeing or not.
If you continue to have problems, email me your web.config file (use the email button at the bottom of this message).
Mary Jo Skrobul
SourceGear
SourceGear
seems to be better byut..
OK - seemed to be better but what should happen when user hits Submit?
Right now, nothing seems to be happening and the item is not being added.
Right now, nothing seems to be happening and the item is not being added.
Enable External Adds
Yes, External Adds is turned on.
Nothing seems to fire on that particular link.
Try it with the URL Noted earlier : http://69.196.215.56/Dragnet/External/A ... px?pid=101
Nothing seems to fire on that particular link.
Try it with the URL Noted earlier : http://69.196.215.56/Dragnet/External/A ... px?pid=101
Reinstalled - same problem
Just reinstalled (after re-downloading ensuring I had the most recent version)
The error reported on the remote site shows a JavaScript Error that says:
Line 197 (Char 10)
Document.GetElementByID(...) is null or not an object
But on other browsers, it just sits there and does nothing.
Even tried it localy - no response at all.
Any other ideas?
The error reported on the remote site shows a JavaScript Error that says:
Line 197 (Char 10)
Document.GetElementByID(...) is null or not an object
But on other browsers, it just sits there and does nothing.
Even tried it localy - no response at all.
Any other ideas?