Saturday, May 19, 2012  | 
Welcome to Module Masters support forums - the primary support mechanism for our products. Feel free to post your questions, and we will aim to respond in a timely manner.  We also encourage our users to post any feedback you may have.  You may also email us directly at service@modulemasters.com
Subject: The type initializer for "SF.DNN.Modules.SMS.Data.DataProvider" threw an exception.
Prev Next
You are not authorized to post a reply.

Author Messages
dorupirvuUser is Offline

Posts:7

02/14/2007 05:15  
Hi,

I have compiled the new project.
I have created a new PA.
I uploaded the new PA.

But, when I added the SMS to the page, I reveived this error:
The type initializer for "SF.DNN.Modules.SMS.Data.DataProvider" threw an exception.
The line is (sms.ascx.vb):
arrayEmails = objSMSController.List(ModuleId)

More exactly, the error is on the line (Components.SMSController.vb):
Return CBO.FillCollection(DataProvider.Instance().SMSEmailsGetList(ModuleId), GetType(SMSInfo))

More exactly: DataProvider.Instance().SMSEmailsGetList(ModuleId)

Could you help me?

Thank you,
Doru


dorupirvuUser is Offline

Posts:7

02/14/2007 05:34  
I want to update the issue:

The problem is in this line:
Return CBO.FillCollection(DataProvider.Instance().SMSEmailsGetList(ModuleId), GetType(SMSInfo))
and I think that DataProvider.Instance() produces the error!

Thank you,
Doru
dorupirvuUser is Offline

Posts:7

02/14/2007 07:11  
I solved by rename namespace.

Thank you,
Doru
You are not authorized to post a reply.
Forums > Module Masters Forum > SMS > The type initializer for "SF.DNN.Modules.SMS.Data.DataProvider" threw an exception.



ActiveForums 3.7
Copyright 2011 by Module Masters Privacy StatementTerms Of Use