|
You can't - it's a setting made by the user
|
|
|
|
|
Thankyou for replay. any other way can we add webpage in out application.
|
|
|
|
|
What use would security features be if you could simply disable then via your code? The fact that you are showing a different site in yours via an iframe and you're having captcha problems makes me think that whatever you are doing probably isn't ethical anyway.
|
|
|
|
|
Thank You for Your Replay ,
yes, but i want captcha in my Registration Page, how can i sue the captcha with out using cookies?
|
|
|
|
|
You need to add information on the page to tell the user to enable cookies for your website. If they do not do it they cannot register. But as with all of these issues the user owns the computer, and so retains the right to allow or disallow what other applications can do.
|
|
|
|
|
Why not write your own captcha, that way you are not invoking third party code and cookies...
|
|
|
|
|
how to insert data into table with foreign key using the max id of primary key table.
using asp.net VS2013, DB-Ms-Access.
getting following error when i try to insert data using "select max(id) from table 1"
|
|
|
|
|
What error you are getting here?
modified 20-Sep-20 21:01pm.
|
|
|
|
|
|
|
Is your question about gridview formatting?
modified 20-Sep-20 21:01pm.
|
|
|
|
|
My client will be sending the request as described below in SOAP format.
<RequestTimestamp>2014-08-22T11:28:00Z</RequestTimestamp>
<SystemID>TestProcessor</SystemID>
<Version>1<Version>
<QWID>201507080000001</QWID>
<QWID>201507080000010</QWID>
<QWID>201507080000001</QWID>
<QWID>201507080000010</QWID>
<QWID>201507080000001</QWID>
<QWID>201507080000010</QWID>
<CHL>201507080000010</CHL>
In every request, QWID should come as batch and I proposed below entity design to adopt above data.
public class APIRequest
{
[DataMember]
public DateTime RequestTimestamp;
[DataMember]
public string SystemID;
[DataMember]
public int Version;
[DataMember]
public string[] QWID;
[DataMember]
public string CHL;
}
With above entity design, SOAP request generated as
<request xmlns:a="http://schemas.datacontract.org/2004/07/QWID.Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:RequestTimestamp>0001-01-01T00:00:00</a:RequestTimestamp>
<a:SystemID>WireSystem_001</a:SystemID>
<a:Version>0</a:Version>
<a:QWID xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<b:string>20141023010232_ORG99000002_CTR.fedwire</b:string>
<b:string>20141023010842_ORG99000001_CTR.fedwire</b:string>
</a:QWID>
</request>
My client expecting the SOAP request in the form of <QWID>201507080000001</QWID> instead of coming under <QWID><b:string>20141023010232_ORG99000002_CTR.fedwire</b:string> </QWID> as string tag.
How do i do the entity design (without grouping of QWID) to achieve client expectation as described above? Please help me on this?
modified 14-Jul-15 21:54pm.
|
|
|
|
|
Hi All.
In my e-commerce web application, im using one of finance application to transfer invoices, therefore i have to use there o Auth api service and Authenticate from them. Can you please share some sample for create custom oAuth service which will open as Pop-up and asking the credentials...etc. Same time i need retrieve the token from them.
Thanks
|
|
|
|
|
Do not cross-post questions. You have already asked this at Custome oAuth Service[^] so stick to one question and be ready to provide more input if needed.
|
|
|
|
|
Hi All,
I used the rdlc report in my Web form application c#, and in the development environment every thing work fine, but when publish the Application Over the IIS the report viewer didn't show any thing and an error occurred.
"System.NotSupportedException: The given path's format is not supported."
Please let me know how to solve this issue.
Thanks All
|
|
|
|
|
Without seeing the actual code etc it's quite hard to say why the problem occurs but the problem is that the path given is not valid.
So (re)check:
- That the path is a real path.
- If drive is defined in the path, check that semicolon ( : ) is the second character.
- No extra characters anywhere in the path definition.
I believe it would be a good idea to write the path into a log file so you can see what path is actually used on the IIS server.
|
|
|
|
|
Hi,
I recheck and print the report path in the log file and it is a correct path but still the report not shown in the report viewer and the same error occurred.
|
|
|
|
|
What does the path look like that you use?
|
|
|
|
|
Hi,
This is the path and it is a correct path when use it the report file open.
C:\inetpub\wwwroot\HRNEW\Reports\PermitsRpt.rdlc
HRNEW: is my application.
Reports: is reports folder in my application
|
|
|
|
|
Looks perfectly legit...
Did I understand correctly that the exact same path from exact same variable is working in another statement and is not working in another. Could the value be changed in between?
Also if you concatenate the path from parts, I suggest using Path.Combine[^].
If these do not help, please post all relevant code parts.
|
|
|
|
|
Hi,
I use the path.combine and still the same thing,
The report viewer not show the data and the log file contains the same error.
"System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.Web.InternalSecurityPermissions.PathDiscovery(String path)
at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping)
at System.Web.HttpRequest.MapPath(VirtualPath virtualPath)
at System.Web.HttpServerUtility.MapPath(String path)"
|
|
|
|
|
You're passing a physical file-system path to the MapPath method, which only accepts virtual paths.
Try using ~/Reports/PermitsRpt.rdlc as the path instead.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
While Hosting RDLC report on IIS Then it requires following dll files on IIS.
1) Microsoft.ReportViewer.Common
2) Microsoft.ReportViewer.ProcessingObjectModel
3) Microsoft.ReportViewer.WebForms
Set Web.config file..
<system.web>
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</assemblies>
</compilation>
</system.web>
|
|
|
|
|
Hello,
i am a beginner with basic knowledge of c++,C# and ASP.net, Java script. I also learned to create dummy project by ASP.net but not able to create live project but that has three year gap due to illness. . I want to start it again please let me know what would be the right direction for that
|
|
|
|
|