Print Page | Close Window

Operator ’&’ is not defined for types ’St

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6886
Printed Date: 29 March 2026 at 10:54am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Operator ’&’ is not defined for types ’St
Posted By: Mart
Subject: Operator ’&’ is not defined for types ’St
Date Posted: 31 October 2003 at 10:51am

Can somebody please tell me what this error means and how i can fix it?

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30452: Operator '&' is not defined for types 'String' and 'System.Version'.

Source Error:

Line 18: Connection.Open()
Line 19: 
Line 20: cmd = new OleDbCommand("Insert Into log(ActiveXcontols, AOL, BackGroundSounds, Beta, Browser, CDF, ClrVersion, Cookies, Crawler, EcmaScriptVersion, Frames, JavaApplets, Javascript, MajorVersion, MinorVersion, MSdomversion, Platform, Tables, Type, VBScript, Version, W3CdomVersion, Win16, Win32, REMOTE_ADDR, Hostname) Values ('" & request.browser.ActiveXcontrols & "', '" & request.browser.AOL & "', '" & request.browser.Backgroundsounds & "', '" & request.browser.Beta & "', '" & request.browser.browser & "', '" & request.browser.CDF & "', '" & request.browser.ClrVersion & "', '" & request.browser.Cookies & "', '" & request.browser.Crawler & "','" & request.browser.EcmaScriptVersion & "', '" & request.browser.Frames & "',  '" & request.browser.JavaApplets & "','" & request.browser.JavaScripts & "',  '" & request.browser.MajorVersion & "', '" & request.browser.MinorVersion & "', '" & request.browser.MSdomVersion & "', '" & request.browser.Platform & "', '" & request.browser.Tables & "', '" & request.browser.Type & "', '" & request.browser.VBscript & "', '" & request.browser.Version & "', '" & request.browser.W3Cdomversion & "', '" & request.browser.Win16 & "','" & request.browser.Win32 & "', '" & request.ServerVariables("REMOTE_ADDR") & "', '" & Hostname & "')", Connection)
Line 21: cmd.ExecuteNonQuery()
Line 22: Connection.Close()

Source File: c:\inetpub\wwwroot\log.aspx    Line: 20



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net