This is a migrated thread and some comments may be shown as answers.

[Solved] MVC3 problems

1 Answer 135 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alan Mosley
Top achievements
Rank 1
Alan Mosley asked on 18 Jan 2011, 04:16 PM
I have upgraded a MVC2 project to MVC3 using the MvcAppConverter.exe converter. since then I can not get vs2010 intelisence to reconize telerik. I have reinstalled and tried many things. I have included my webconfig file i think i may of messed it up.

My telerik grids are working, i just cant seem to use inteisence. 

any ideas. 

Thanks in advance 


<?

 

 

xml version="1.0"?>
<configuration>
<
configSections>
<
sectionGroup name="telerik">
<
section name="webAssets" type="Telerik.Web.Mvc.Configuration.WebAssetConfigurationSection, Telerik.Web.Mvc" requirePermission="false" /></sectionGroup></configSections>

 

<

 

 

 

connectionStrings>

 

<

 

 

connectionStrings>

 

 

 

 

 

<

 

 

system.web>

 

<

 

 

 

compilation debug="true" targetFramework="4.0">

 

<

 

 

 

assemblies>

 

<

 

 

 

add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

 

add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

 

 

add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

</

 

 

 

assemblies>

 

</

 

 

 

compilation>

 

 

<

 

 

authentication mode="Forms">

 

<

 

 

 

forms loginUrl="~/Account/LogOn" timeout="2880" />

 

</

 

 

 

authentication>

 

 

<

 

 

membership>

 

<

 

 

 

providers>

 

<

 

 

 

clear />

 

<

 

 

 

add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="Eclipse" />

 

</

 

 

 

providers>

 

</

 

 

 

membership>

 

 

<

 

 

profile>

 

<

 

 

 

providers>

 

<

 

 

 

clear />

 

<

 

 

 

add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="Eclipse" />

 

</

 

 

 

providers>

 

</

 

 

 

profile>

 

 

<

 

 

roleManager enabled="false">

 

<

 

 

 

providers>

 

<

 

 

 

clear />

 

<

 

 

 

add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="Eclipse" />

 

<

 

 

 

add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="Eclipse" />

 

</

 

 

 

providers>

 

</

 

 

 

roleManager>

 

 

<

 

 

pages maintainScrollPositionOnPostBack="true" smartNavigation="true ">

 

<

 

 

 

namespaces>

 

<

 

 

 

add namespace="System.Web.Mvc" />

 

<

 

 

 

add namespace="System.Web.Mvc.Ajax" />

 

<

 

 

 

add namespace="System.Web.Mvc.Html" />

 

<

 

 

 

add namespace="System.Web.Routing" />

 

<

 

 

 

add namespace="Telerik.Web.Mvc.UI" />

 

</

 

 

 

namespaces>

 

</

 

 

 

pages>

 

<

 

 

 

caching>

 

<

 

 

 

sqlCacheDependency enabled="true">

 

<

 

 

 

databases>

 

<

 

 

 

add name="Eclipse" connectionStringName="Eclipse" pollTime="1000" />

 

</

 

 

 

databases>

 

</

 

 

 

sqlCacheDependency>

 

</

 

 

 

caching>

 

<

 

 

 

httpHandlers>

 

<

 

 

 

add verb="GET,HEAD" path="asset.axd" validate="false" type="Telerik.Web.Mvc.WebAssetHttpHandler, Telerik.Web.Mvc" /></httpHandlers>

 

</

 

 

 

system.web>

 

 

<

 

 

runtime>

 

<

 

 

 

assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

 

<

 

 

 

dependentAssembly>

 

<

 

 

 

assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>

 

<

 

 

 

bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>

 

</

 

 

 

dependentAssembly>

 

<

 

 

 

dependentAssembly>

 

<

 

 

 

assemblyIdentity name="System.Web.Mvc" publicKeyToken="31BF3856AD364E35" culture="neutral"/>

 

<

 

 

 

bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>

 

</

 

 

 

dependentAssembly>

 

</

 

 

 

assemblyBinding>

 

</

 

 

 

runtime>

 

<

 

 

 

system.webServer>

 

<

 

 

 

validation validateIntegratedModeConfiguration="false" />

 

<

 

 

 

modules runAllManagedModulesForAllRequests="true" />

 

<

 

 

 

rewrite>

 

<

 

 

 

rules>

 

<

 

 

 

rule name="RemoveTrailingSlashRule1" stopProcessing="true">

 

<

 

 

 

match url="(.*)/$" />

 

<

 

 

 

conditions>

 

<

 

 

 

add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />

 

<

 

 

 

add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />

 

</

 

 

 

conditions>

 

<

 

 

 

action type="Redirect" url="{R:1}" />

 

</

 

 

 

rule>

 

<

 

 

 

rule name="CanonicalHostNameRule1">

 

<

 

 

 

match url="(.*)" />

 

<

 

 

 

conditions>

 

<

 

 

 

add input="{HTTP_HOST}" pattern="^xxxxx\.com\.au$" negate="true" />

 

</

 

 

 

conditions>

 

<

 

 

 

action type="Redirect" url="http://xxxx.com.au/{R:1}" />

 

</

 

 

 

rule>

 

</

 

 

 

rules>

 

</

 

 

 

rewrite>

 

<

 

 

 

handlers>

 

<

 

 

 

remove name="asset" />

 

<

 

 

 

add name="asset" preCondition="integratedMode" verb="GET,HEAD" path="asset.axd" type="Telerik.Web.Mvc.WebAssetHttpHandler, Telerik.Web.Mvc" /></handlers>

 

</

 

 

 

system.webServer>

 

<

 

 

 

system.net>

 

<

 

 

 

mailSettings>

 

<

 

 

 

smtp from="

 

<

 

 

network host="mail" />

 

</

 

 

 

 

smtp>

 

</

 

 

 

mailSettings>

 

</

 

 

 

system.net>

 

<

 

 

 

system.serviceModel>

 

<

 

 

 

bindings>

 

<

 

 

 

basicHttpBinding>

 

<

 

 

 

binding name="BasicHttpBinding_IGeocodeService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">

 

<

 

 

 

readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />

 

<

 

 

 

security mode="None">

 

<

 

 

 

transport clientCredentialType="None" proxyCredentialType="None" realm="" />

 

<

 

 

 

message clientCredentialType="UserName" algorithmSuite="Default" />

 

</

 

 

 

security>

 

</

 

 

 

binding>

 

</

 

 

 

basicHttpBinding>

 

<

 

 

 

customBinding>

 

<

 

 

 

binding name="CustomBinding_IGeocodeService">

 

<

 

 

 

binaryMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" maxSessionSize="2048">

 

<

 

 

 

readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />

 

</

 

 

 

binaryMessageEncoding>

 

<

 

 

 

httpTransport manualAddressing="false" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" />

 

</

 

 

 

binding>

 

</

 

 

 

customBinding>

 

</

 

 

 

bindings>

 

<

 

 

 

client>

 

<

 

 

 

endpoint address="http://dev.virtualearth.net/webservices/v1/geocodeservice/GeocodeService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeocodeService" contract="BingGeoCode.IGeocodeService" name="BasicHttpBinding_IGeocodeService" />

 

<

 

 

 

endpoint address="http://dev.virtualearth.net/webservices/v1/geocodeservice/GeocodeService.svc/binaryHttp" binding="customBinding" bindingConfiguration="CustomBinding_IGeocodeService" contract="BingGeoCode.IGeocodeService" name="CustomBinding_IGeocodeService" />

 

</

 

 

 

client>

 

</

 

 

 

system.serviceModel>

 

<

 

 

 

telerik>

 

<

 

 

 

webAssets useTelerikContentDeliveryNetwork="false" /></telerik>

 

</

 

 

 

configuration>

 

 

 

1 Answer, 1 is accepted

Sort by
0
Alan Mosley
Top achievements
Rank 1
answered on 19 Jan 2011, 10:17 AM
Solved. one of my config files was readonly and was not getting updated.
Tags
General Discussions
Asked by
Alan Mosley
Top achievements
Rank 1
Answers by
Alan Mosley
Top achievements
Rank 1
Share this question
or