User372430298 posted
Hi,
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 <g class="gr_ gr_279 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep"
id="279" data-gr-id="279">website</g> 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.
Error 1
Could not load Type <g class="gr_ gr_600 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="600" data-gr-id="600">PortalAdmin</g>.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 "<g class="gr_ gr_907 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del
multiReplace" id="907" data-gr-id="907">PortalAdmin</g>.<g class="gr_ gr_912 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace gr-progress" id="912" data-gr-id="912">pdb</g>"
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"%>
Error 2
Keyword "Global" is not a valid identifier.
When I click on the error it redirects me to Admin/Global.asax.vb:
Imports System.Web
Imports System.Web.SessionState
Public Class Global
Inherits System.Web.HttpApplication
The Global keyword is underlined with a curly blue line.
Any suggestions to resolve these two errors are welcome.
Thanks in advance.