Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameHelp! IFrame upload broke web site!Help! IFrame upload broke web site!
Previous
 
Next
New Post
1/20/2008 3:35 PM
 

I uploaded and installed IFrame earlier today. I am unable to upload any modules from inside the web page. I have to upload the modules by FTP and then run /install/install.aspx?mode=installresources to install them. This is the message that my host provider says the page is now generating (site won't open at all):

Compiler Error Message: BC30456: 'GetPropertyValue' is not a member of 'DotNetNuke.Entities.Users.UserProfile'.

Source Error:

 
Line 280:                        Case IFrameParameterType.UserCustomProperty ' custom property
Line 281:                            If ArgumentIsEmpty Then Return ""
Line 282:                            Return objUser.Profile.GetPropertyValue(TypeArgument)
Line 283:                        Case IFrameParameterType.UserID
Line 284:                            Return Convert.ToString(objUser.UserID)

Source File: D:\websites\69.20.31.113\cowetacogop.com\App_Code\IFrame\Domain\IFrameParameter.vb    Line: 282

I noticed that another poster in this forum with the same version of DNN as I have installed (DNN 4.03) had the same problem, although that poster didn't mention that their whole site went down. Ours is down.

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/39/threadid/196326/scope/posts/Default.aspx

Need some help ASAP please!

~Bee

 
New Post
1/21/2008 6:26 AM
 

Well I looked at that post, Jim was installing on a DNN4.8, he had a different issue.

If I read this right, you installed the latest IFRAME module on a DNN4.03.  Big Problem I'm guessing.

The stored procedure its telling you it cant find is for a token replacment system for profile data in a querystring params option of the module (I think) its a storeprocedure that wouldnt have existed until 4.3.3 when the profile was modified to the new profile provider, this module is depending on.

I'm guessing errors can only be seen on the localhost, so thats why you need your host to provide you with the error....(yikes the luxury of having servers in house)

I wonder if you have the tools needed to fix this.

I'm sure some guru knows an easier fix.....

If it were me, I would have backup everything before I began.  And restored everything from backups if things went wrong, and they went wrong.....

But had you done that your post would be slightly different.

Installing this module did a few things to your codebase and database, all of which can be reversed.

But with the tools you have I dont think you can fix it.  You're at the mercy of the host to fix it.

To fix this I would need access to the file system and the database, both of which your host has a monopoly on right now.

If it were me I would look at the SQL install script the IFRAME ran, remove the wrong version iframe files added during install, add the correct version files, run a SQL script to 'reverse' what the install SQL script did.

But then again if it were me I would have backed it up first =D

Good Luck.

 
New Post
1/21/2008 9:34 AM
 

Brenda, Bent is right, IFrame 4.3.0 requires at least DNN4.3.3 (or better  5).

The temporary fix is quite easy if you have ftp access or any other chance to access and edit your files.

Modify line 282 in App_Code\IFrame\Domain\IFrameParameter.vb   and replace the return statement with

return ""

No need to compile anything, just edit the file and save!

 

 
New Post
1/22/2008 10:07 AM
 

Thanks for the replies. You are right, I installed the IFrame on DNN 4.03. I realize now that my confusion was because the IFrame version was also 4.03, which is why I thought that the other poster had the same version of DNN as we do.

After my host provided me with the error (as you correctly guessed, I couldn't get the error details myself) I told them that the IFrame module was the one that caused the problem. The host deleted the module and restored my DNN installation so the problem is resolved now. The host I use is Re-invent.com, and I have been very happy with their services. I chose them initially because they install the DNN for you for free so I didn't have to worry about messing it all up. I'm so glad I made that decision because as I see now it has paid off when problems come up too.

However, now I don't have an IFrame module, which isn't a really huge issue since I wasn't using it for anything at the time. But, I have used it in the past from time to time, and would like to reinstall it. I'm afraid to try it without knowing for sure which version works with DNN 4.03.

Thanks again for all the feedback,

~Brenda

 
New Post
1/22/2008 10:14 AM
 

Also, as an afterthought, I wanted to mention that I have no idea how to back things up. I do have access by FTP. Still, I have no idea what procedure to use to make a backup.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameHelp! IFrame upload broke web site!Help! IFrame upload broke web site!


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out