Friday, January 09, 2009 | Register | Login 
Minimize
 Module Support Forums
 
 Forum Forum metaPost Forums metaPost Forums metaPost Featur... metaPost Featur... Active Directory Active Directory
Previous Previous
 
Next Next
New Post
 5/7/2008 9:14 PM
Don Worthley
201 posts
9th Level Poster


Re: Active Directory
 

Great.  That's the version I downloaded and am working with.  I'm trying to get AD integration set up in a test environment so I can be sure to test the change Ben suggested before I send you the updated PA.  I've had some problems getting it to work correctly in my environment, but I'll keep working at it this evening and try to have something for you by tomorrow.

Thanks,

Don

 
New Post
 5/7/2008 11:34 PM
Don Worthley
201 posts
9th Level Poster


Re: Active Directory
 

Of course, the usual disclaimers apply here:

  • Create a full backup of your database and your site before applying this fix.
  • This fix is provided as-is without any warranty of any kind
  • This fix was prepared from the 01.00.03 source with only the fix suggested by Ben added to the OnAuthenticateRequest procedure (shown below for reference) :

http://www.itcrossing.com/media/files/ActiveDirectory_01.00.03_Install_metaPost.zip

Thanks again to Ben for posting this fix to the forum.

Fix added to the beginning of OnAuthenticateRequest:

If Request.UserAgent.Contains("Windows Live Writer") Then
    Exit Sub
End If

 

 
New Post
 5/8/2008 4:53 AM
simonduz
14 posts
No Ranking


Re: Active Directory
 

Thanks Don.  I hope you got some sleep!  I will test this today and report back.

BTW.  You should contact Mandeeps (Live Content).  There has been some recent conversation on his forums concerning metapost for Live Content on the next version but I don't believe that your metapost solution has been mentioned.  This would be a great addition.

 
New Post
 5/8/2008 5:49 AM
simonduz
14 posts
No Ranking


Re: Active Directory
 

Ok.. Initial test with latest version of metaPost & Text/HTML module with a Host ID (domain account) produced the Server error 0.  
The friendly URL exists:  (.*)/metapost.ashx  ~/metapost.ashx?calias=$1

Initial setup using the domain account allowed download of the template, and test post completed (with deletion) correctly.  Template does display correctly in Live Writer.

Event viewer:
AssemblyVersion: 04.08.02
PortalID: 0
PortalName: Portal Testing and Development
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /metapost.ashx?key=Text/HTML&sid=502
AbsoluteURL: /metapost.ashx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Windows Live Writer 1.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d9024d81-a40e-43cc-a475-3fe7b4143315
InnerException: This feature is currently not implemented.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: ITCrossing.metaPostTextHtmlProvider.NewItem
StackTrace:
Message: ITCrossing.MetaPostException: This feature is currently not implemented. at ITCrossing.metaPostTextHtmlProvider.NewItem(String moduleLevelId, UserInfo userInfo, PortalSettings portalSettings, Item item, Boolean publish, Boolean styleDetectionPost, String styleId, ItemType itemType) at ITCrossing.metaPost3.newPost(String blogId, String username, String password, Post post, Boolean publish)
Source:
Server Name: WINSERV001

Any ideas?
Thanks for you help.

 
New Post
 5/8/2008 10:04 AM
Don Worthley
201 posts
9th Level Poster


Re: Active Directory
 

The Text/HTML provider doesn't currently support creating new pages.  This is due to the ambiguity regarding where to create a new page.  For example, should it appear as a new module in an existing page?  Or should it be added as a brand new page?  And if added as a brand new page, what template should be used to add this new page?  There were so many questions like this that came up when I started thinking about allowing the user to add content through the Text/HTML module that I had to table this feature until I can research this issue more.  Just so you know, deleting isn't supported either, since I'm not sure if you want to delete the module from the page, the content from the module or the entire tab.

To say it with a more positive spin, what you can do right now is edit content in any Text/HTML module in a portal to which your account has edit access.

HTH,

Don

PS The Text/HTML and Magic Content providers are the only module providers with this limitation.

 
Previous Previous
 
Next Next
 Forum Forum metaPost Forums metaPost Forums metaPost Featur... metaPost Featur... Active Directory Active Directory
 Print