swilson
Posts: 84
|
| Posted: 11/28/2005, 3:33 PM |
|
I just converted a project file to 3.0 and got 20+ errors on the build like this:
Error:C:\DOCUME~1\NewUser\LOCALS~1\Temp\~IDPCE~1\AircraftSBList.aspx.vb(333) : error BC30451: Name 'Elements' is not declared.
Elements.Text &= "var SBN_ACSNEmptyRows = 0;" + vbCrLf
I discovered that the compiler did not generate this line as it does in 2.3.2:
Dim Elements As Literal = CType(SBN_ACSNRepeater.Controls(0).FindControl("ElementsID"), Literal)
What extra steps must I take to get 3.0 to correctly build my converted 2.3.2 project?
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple. |
swilson
Posts: 84
|
| Posted: 12/05/2005, 1:37 PM |
|
Support corrected a bug and emailed me the files. That fixed the original problem, above.
Although the upgraded project now publishes without errors, I still get this warning:
Warning:Error occurred when creating Virtual Directory in IIS: Unable to find specified host. Please verify the Server URL host name. It should match the IP Address of the Default Web Site in IIS.
Any ideas?
Additionally, I now get a browser Error on Page message as follows:
Line: 21
Char: 5
Error: Object expected
Code: 0
URL: http://www.stwaircraft.com/idpcessna/
Any tips to find the problem?
Also, on database driven pages I have some new errors like:
Incorrect syntax near the keyword 'AS'.
The same project builds fine with the previous 2.3.2 version. Any clues are appreciated!
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple. |