Friday, January 09, 2009 | Register | Login 
Minimize
 Module Support Forums
 
 Forum Forum metaPost Forums metaPost Forums Providers - Ven... Providers - Ven... Open not working + various exceptions Open not working + various exceptions
Previous Previous
 
Next Next
New Post
 9/12/2008 2:00 AM
Unresolved
Antonio
3 posts
No Ranking


Open not working + various exceptions
 
Modified By Don Worthley  on 10/2/2008 11:19:40 PM
Hi,

I am trying to make the metapost module working, but so far I've not been lucky.

I have upgraded DNN to the latest version, as well as the News Articles module.

After the module installation (community edition, version 1.2.5 downloaded from snowcovered),
I notice the DNN event viewer is reporting these 2 exceptions, although the module installation doesn't report any error:

----------------------------
AssemblyVersion: -1
PortalID: -1
PortalName: 
UserID: -1
UserName: 
ActiveTabID: -1
ActiveTabName: 
RawURL: 
AbsoluteURL: 
AbsoluteURLReferrer: 
UserAgent: 
DefaultDataProvider: 
ExceptionGUID: 
InnerException: Access to the path 'D:\hshome\jeden\cms.elapsus.com\SiteUrls.config' is denied.
FileName: 
FileLineNumber: -1
FileColumnNumber: -1
Method: 
StackTrace: 
Message: System.UnauthorizedAccessException: Access to the path 'D:\hshome\jeden\cms.elapsus.com
\SiteUrls.config' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at
ITCrossing.MetaPostInstaller.RewriterConfiguration.SaveConfig(RewriterRuleCollection rules)
at ITCrossing.MetaPostInstaller.DoWork()

Source: 
Server Name: JH-OUN7AM8B1DCF
----------------------------

----------------------------
THREAD ID: 9
TYPE: ITCrossing.MetaPostInstaller
EXCEPTION: Access to the path 'D:\hshome\jeden\cms.elapsus.com\SiteUrls.config' is denied.
RESCHEDULED FOR: 9/12/2008 4:15:07 AM
SOURCE: STARTED_FROM_BEGIN_REQUEST
ACTIVE THREADS: 0
FREE THREADS: 1
READER TIMEOUTS: 0
WRITER TIMEOUTS: 0
IN PROGRESS: 0
IN QUEUE: 3
Server Name: JH-OUN7AM8B1DCF
----------------------------


If I try to delete the SiteUrls.config, I notice it is created again, so I presume there is no write restriction for the user DNN is using.


I create a new account in WLW - everything goes fine until I am asked if I want WLW to detect the weblog theme.
I click on Yes, it starts downloading, and at the end of this process, when it displays the message "Finalizing editing
template configuration" the VS JIT debugger pops up asking if I want to debug the application. Of course I
choose NO, and another exception is thrown. I click NO again, then WLW completes the weblog theme download
with no error (despite the 2 thrown exceptions). Btw it looks like the theme has been downloaded correctly.

Looking at the DNN event viewer I've found the following exception:

----------------------------
AssemblyVersion: 04.09.00
PortalID: 3
PortalName: Developer's Corner - Resources for Developers
UserID: 4
UserName: jeden
ActiveTabID: 87
ActiveTabName: Home
RawURL: /metaPost.ashx?key=news+articles
AbsoluteURL: /metaPost.ashx
AbsoluteURLReferrer: 
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Windows Live Writer 1.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: adb1dc35-94fe-491b-b072-916188374ef6
InnerException: Object reference not set to an instance of an object.
FileName: 
FileLineNumber: 0
FileColumnNumber: 0
Method: ITCrossing.metaPostVentrianNewsArticleProvider.GetRecentItems
StackTrace: 
Message: System.NullReferenceException: Object reference not set to an instance of an object.
at ITCrossing.metaPostVentrianNewsArticleProvider.GetRecentItems(String moduleLevelId, UserInfo
userInfo, PortalSettings portalSettings, Int32 numberOfItems, RecentItemsRequestType requestType,
String providerKey) at ITCrossing.metaPost3.getRecentPosts(String blogid, String username,
String password, Int32 numberOfPosts)
Source:

Server Name: JH-OUN7AM8B1DCF
----------------------------


If I try to open either posts and pages from this weblog, I receive the following message:

----------------------------
Blog Server Error
Server Error 0 Occurred

There was an error retrieving the list of recent articles.
----------------------------

Instead if I post a blog entry it works.

Do you have any idea why is this happening? Is pheraps an issue related to the SiteUrls.config file? If yes, can
I manually amend it in order to add what the metapost module needs (in such case I need to know what to add!).

Thanks

 
New Post
 9/12/2008 5:36 AM
Don Worthley
201 posts
9th Level Poster


Re: Open not working + various exceptions
 
There are some issues with the News Articles provider that seem to have been created in recent versions of metaPost Community Edition.  I apologize for the trouble this has caused.  I'll take a look at these issues over the weekend and try to get a fix ready ASAP. 

Thanks for your patience and for using metaPost!          

 
New Post
 9/24/2008 6:39 AM
Antonio
3 posts
No Ranking


Re: Open not working + various exceptions
 
Hi,

any (good) news? did you have time to find and fix this issue?
 
New Post
 9/25/2008 9:16 AM
Don Worthley
201 posts
9th Level Poster


Re: Open not working + various exceptions
 
Hi Antonio,

I haven't had the time to look at this issue since the 1.2.5 release, which I believe you have already installed.  Rest assured, though.  I'll get to this as soon as I can!

Thanks for your patience and for using metaPost!

Don

 
New Post
 10/2/2008 10:22 PM
Don Worthley
201 posts
9th Level Poster


Re: Open not working + various exceptions
 
Hi Antonio,

There's a patch for the 1.2.5 release which contains an update to the News Articles provider.  This patch contains a fix for the provider to allow it to make use of the new hierarchical category support in News Articles 00.07.13.  While working on this new feature, I tested the scenarios you've described above and was not able to reproduce the error.  This was after having made a few changes to the code, so it's possible that the changes have solved the problem.  Would you mind downloading the patch to see if it solved your issue?  If it doesn't solve the issue, let me know and we'll dig deeper. 

Thanks,

Don


 
Previous Previous
 
Next Next
 Forum Forum metaPost Forums metaPost Forums Providers - Ven... Providers - Ven... Open not working + various exceptions Open not working + various exceptions
 Print