BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  General Support  Documentation?
Previous Previous
 
Next Next
New Post 8/3/2007 9:59 AM
User is offline Imajinit
14 posts
No Ranking


Re: Documentation? 

Thanks for the info.

I followed the instructions for Windows authentication settings and uncommented the web.config file. Now I am geting the following error.

2007-08-03 10:46:44,685 [1] ERROR BugNET.Global [(null)] - Application Error

System.FormatException: String was not recognized as a valid Boolean.

   at System.Boolean.Parse(String value)

   at BugNET.HttpModules.AuthenticationModule.context_AuthenticateRequest(Object sender, EventArgs e)

   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I also have the items in number two setup, but have what is probably a silly question... should I use a format like 'DOMAIN' or 'DOMAIN.com' when specifying the domain? Username in the 'Domain\Username' format or 'username'  format?

 

I guess I will stay away from the mailbox items for now. Is there a plan to include a global opt out of notifications for a user? I will be in the system all day, every day so I would prefer not to clog up my mailbox with notifications.

 
New Post 8/3/2007 10:50 AM
User is offline admin
634 posts
bugnetproject.com
1st Level Poster




Re: Documentation? 

 Imajinit wrote

Thanks for the info.

I followed the instructions for Windows authentication settings and uncommented the web.config file. Now I am geting the following error.

2007-08-03 10:46:44,685 [1] ERROR BugNET.Global [(null)] - Application Error

System.FormatException: String was not recognized as a valid Boolean.

   at System.Boolean.Parse(String value)

   at BugNET.HttpModules.AuthenticationModule.context_AuthenticateRequest(Object sender, EventArgs e)

   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I also have the items in number two setup, but have what is probably a silly question... should I use a format like 'DOMAIN' or 'DOMAIN.com' when specifying the domain? Username in the 'Domain\Username' format or 'username'  format?

 

I guess I will stay away from the mailbox items for now. Is there a plan to include a global opt out of notifications for a user? I will be in the system all day, every day so I would prefer not to clog up my mailbox with notifications.

 

That error should go away when you set the authentication module to enabled in the application configuration page.

It should be whatever your domain name is and what is prefixed on userids.   i.e CONTOSO\username.  so you would use contoso.

There is no option currently to disable notifications. But yes, there could be in the future.


Davin Dubeau
BugNET - Core Developer

 
New Post 8/3/2007 12:08 PM
User is offline Imajinit
14 posts
No Ranking


Re: Documentation? 

Davin,

I'm sorry, but I seem to be over looking something as I am still having the same issue. I am posting the items that I have been working with in hopes that you can see what I am missing...

Here are my application configuration settings. Please note that I replaced my domain name with 'Contoso' and my user name with 'firstname.lastname'.

Authentication Settings

 

 

Here are the web.config settings. If I comment out the 'AuthenticationModule' line the system works, but does not create a new user in the database. if the user has an entry in the database the whole thing works without issue.

<httpModules>

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<!-- BugNET HttpModules -->

<add name="AuthenticationModule" type="BugNET.HttpModules.AuthenticationModule, BugNET.HttpModules.Authentication" />

<!-- <add name="MailBoxReaderModule" type="BugNET.HttpModules.MailboxReaderModule, BugNET.HttpModules.MailBoxReader" /> -->

</httpModules>

<customErrors defaultRedirect="~/Error.aspx" mode="Off" />

<!--

*********************************************

Authentication Settings

*********************************************

-->

<authentication>

<forms name="BugNET" loginUrl="~/Default.aspx" />

</authentication>

<!--<authentication mode="Windows" />-->
<!-- <authorization>
<deny users="?" />
</authorization>

 
New Post 8/3/2007 2:06 PM
User is offline admin
634 posts
bugnetproject.com
1st Level Poster




Re: Documentation? 

 Imajinit wrote

Davin,

I'm sorry, but I seem to be over looking something as I am still having the same issue. I am posting the items that I have been working with in hopes that you can see what I am missing...

Here are my application configuration settings. Please note that I replaced my domain name with 'Contoso' and my user name with 'firstname.lastname'.

Authentication Settings

 

 

Here are the web.config settings. If I comment out the 'AuthenticationModule' line the system works, but does not create a new user in the database. if the user has an entry in the database the whole thing works without issue.

 

 



Looks like we are missing an important option in the UI for this.  If you run this script it should get past that error.

 

INSERT INTO HostSettings(SettingName,SettingValue) Values('EnableWindowsAuthentication','true')

 


Davin Dubeau
BugNET - Core Developer

 
New Post 8/24/2007 9:13 AM
User is offline Imajinit
14 posts
No Ranking


Re: Documentation? 

Davin,

Sorry it has taken so long to get back to this. I have been out on vacation. I added the record as you reommended, but now I cannot manage users at all in the system. when I attempt to change someone's information I get the following error via the logging system. It is still not creating the login account for users who are first visiting the site either. Any help is appreciated.

2007-08-24 09:59:07,969 [12] ERROR BugNET.Global [(null)] - Application Error

 

 

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileNotFoundException: Could not load file or assembly 'App_Web_5d1tstiq, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

File name: 'App_Web_5d1tstiq, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

   at ASP.administration_users_usercontrols_manageusers_ascx.__BuildControlpnlUserDetails()

   at ASP.administration_users_usercontrols_manageusers_ascx.__BuildControlTree(administration_users_usercontrols_manageusers_ascx __ctrl)

   at ASP.administration_users_usercontrols_manageusers_ascx.FrameworkInitialize()

   at System.Web.UI.UserControl.InitializeAsUserControlInternal()

   at System.Web.UI.UserControl.InitializeAsUserControl(Page page)

   at ASP.administration_users_userdetail_aspx.__BuildControlManageUsers1()

   at ASP.administration_users_userdetail_aspx.__BuildControlContent1(Control __ctrl)

   at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)

   at ASP.fullwidth_master.__BuildControlContent()

   at ASP.fullwidth_master.__BuildControlform1()

   at ASP.fullwidth_master.__BuildControlTree(fullwidth_master __ctrl)

   at ASP.fullwidth_master.FrameworkInitialize()

   at System.Web.UI.UserControl.InitializeAsUserControlInternal()

   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)

   at System.Web.UI.Page.get_Master()

   at System.Web.UI.Page.ApplyMasterPage()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

 

   --- End of inner exception stack trace ---

   at System.Web.UI.Page.HandleError(Exception e)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest()

   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)

   at System.Web.UI.Page.ProcessRequest(HttpContext context)

   at ASP.administration_users_userdetail_aspx.ProcessRequest(HttpContext context)

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 
Previous Previous
 
Next Next
  Forum  Support  General Support  Documentation?

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.