我们在Google中搜索网站时出现登录问题 [英] Sign in problem while we search the website in google

查看:122
本文介绍了我们在Google中搜索网站时出现登录问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们面临一个问题,例如当我们键入网站URL并登录时可以正常工作,但是当我们从google搜索网站URL并登录时说对象引用未设置为对象的实例.在此问题上受到赞赏

We are facing a problem like when we type the website URL and sign in it is working,but when we search the website URL from google and signing in it is saying Object reference not set to an instance of an object.Any views on this issue is much appreciated

推荐答案

您将不得不调试代码.

在某处(引发异常的行),您的代码假设某个对象在返回null时返回了一个对象.菜鸟最大的错误是调用了诸如FindControl("<​​i> controlName ")之类的东西,然后他们假定控件没有被发现时就被找到了.
You''re going to have to debug your code.

Somewhere, the line that is throwing the exception, your code is making an assumption that something returned an object when it returned null instead. The biggest noob mistake is to call something like FindControl("controlName") and then they assumed that the control was found, when it wasn''t.


这篇关于我们在Google中搜索网站时出现登录问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆