Wednesday, February 20, 2008 10:35 AM bdukes

DotNetNuke Site Compile Error: "BC30451: Name 'Initialize' is not declared."

Compiler Error Message: BC30451: Name 'Initialize' is not declared.

Today was at least the second time that I had seen the above error happen on my local development DNN site.  I don't know what happened, maybe I accidentally recompiled the source with something strange in there (though the date on the assembly didn't seem to indicate that), but replacing DotNetNuke.dll in my bin folder with a fresh copy made it go away.  Hopefully this'll help someone else out in the same situation.

*UPDATE*:  I later realized that I had compiled a project with references to an earlier version DotNetNuke, and those references were set to Copy Local.  Moral of the story: make sure you're running what you think you're running.

Filed under: , , ,


# re: DotNetNuke Site Compile Error: "BC30451: Name 'Initialize' is not declared."

Sunday, December 14, 2008 6:31 PM by Thuan V. Nguyen

thanks for this, your solution helped me figure out, my real problems. for me it was because I didn't change the reference paths for my custom module project.

Leave a Comment