Last post Jan 23, 2019 06:32 AM by Wei Zhang
Jan 22, 2019 12:04 PM|Akbar123|LINK
I copied the wbsite files from our hosting provider as we are trying to bring this in house. After downloading the files I opened the files as website as it does not have a .sln solution. After opening the file in VS, it asked me to create a .sln, I clicked
yes. It created the .sln at a different folder Visual Studio 2010\Projects\Transfers. Now when I try to build the website I get two errors which I can't resolve.
Could not load Type PortalAdmin.Webform1
The website is written in VB and I come from a C# background.
Under the root directory I have got a folder called "Admin" and Under "Admin" I have got a Bin folder. Under the Bin folder, I have got two files "PortalAdmin.dll" and "PortalAdmin.pdb"
When I click on the error it redirects me to Admin/Emails.aspx.
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Emails.aspx.vb" Inherits="PortalAdmin.WebForm1"%>
Keyword "Global" is not a valid identifier.
When I click on the error it redirects me to Admin/Global.asax.vb:
Public Class Global
The Global keyword is underlined with a curly blue line.
Any suggestions to resolve these two errors are welcome.
Thanks in advance.
Jan 23, 2019 06:32 AM|Wei Zhang|LINK
According to your description, I suggest you to use decompile tool to translate PortalAdmin.dll to class , so you could check whether the namespace PortalAdmin and class Webform1 in this namespace exists.
Here is the link to download the tool,I hope it could help you.