Amit Sharma
Amit Sharma

Reputation: 1088

how to send email using web form for marketers 2.5 in sitecore mvc..?

i'm using web form for marketers 2.5 in sitecore mvc project, i successfully design form but on submit button i'm getting an error, i'm not able to figure out why this error comes please anyone help me to understand the cause of this error, error is saying :

 "The request filtering module is configured to deny a request where the query string is too long." 

my configuration for this is as:

 <add name="analytics" connectionString="mongodb://myServer_Name/DncMvc_Analytics" />
 <add name="tracking.live" connectionString="mongodb://localhost/tracking_live" />
 <add name="tracking.history" connectionString="mongodb://localhost/tracking_history" />
 <add name="reporting" connectionString="user id=sa;password=simple;Data Source=myServer_Name\unicolumn;Database=DncMvc_Analytics" />

Upvotes: 0

Views: 130

Answers (1)

Ashraf
Ashraf

Reputation: 66

You can try 2 things:

first: Change the web.config to increase the "maxQueryString"

<system.web>
<httpRuntime maxUrlLength="#" maxQueryStringLength="#" />

<system.webServer>
<security>
  <requestFiltering>
    <requestLimits maxUrl="#" maxQueryString="#" />
  </requestFiltering>
</security>

if the above doesn't work, you can enable the Anonymous Authentication within the IIS.

Upvotes: 1

Related Questions