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